Skip to content

Commit 3f1fa7f

Browse files
committed
Update how VERSION_GOLANG is set
Signed-off-by: Rafael Breno <rafael_breno@outlook.com>
1 parent 035f2bd commit 3f1fa7f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/version.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ VERSION_ROOT="v0.15.0"
6666

6767
VERSION_HELM_JOB="v0.9.14-build20260309"
6868

69-
DEPENDENCIES_URL="https://raw.githubusercontent.com/kubernetes/kubernetes/${VERSION_K8S}/build/dependencies.yaml"
70-
VERSION_GOLANG="go"$(curl -sL "${DEPENDENCIES_URL}" | yq e '.dependencies[] | select(.name == "golang: upstream version").version' -)
69+
VERSION_GOLANG="go"$(curl -sL "https://raw.githubusercontent.com${PKG_KUBERNETES_K3S/github.com/}/refs/tags/${VERSION_K8S}/.go-version")
7170

7271
if [[ -n "$GIT_TAG" ]]; then
7372
if [[ ! "$GIT_TAG" =~ ^"$VERSION_K8S"[+-] ]]; then

0 commit comments

Comments
 (0)