File k3s-hardcode-go-version.diff of Package k3s

diff --git a/scripts/version.sh b/scripts/version.sh
index 84957bf66..f01fea7a9 100755
--- a/scripts/version.sh
+++ b/scripts/version.sh
@@ -78,8 +78,10 @@ fi
 
 VERSION_ROOT="v0.12.2"
 
+if test -z "$VERSION_GOLANG"; then
 DEPENDENCIES_URL="https://raw.githubusercontent.com/kubernetes/kubernetes/${VERSION_K8S}/build/dependencies.yaml"
 VERSION_GOLANG="go"$(curl -sL "${DEPENDENCIES_URL}" | yq e '.dependencies[] | select(.name == "golang: upstream version").version' -)
+fi
 
 if [[ -n "$GIT_TAG" ]]; then
     if [[ ! "$GIT_TAG" =~ ^"$VERSION_K8S"[+-] ]]; then
openSUSE Build Service is sponsored by