File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,7 @@ mkdir -p $tmp_dir
1111if gimme --help > /dev/null 2>&1 ; then
1212
1313 go_mod_version=$( grep ' ^go' go.mod | sed ' s/go //' )
14- full_version=$( curl -s https://go.dev/dl/? mode=json | jq -r .[].version | grep " $go_mod_version " )
15- export GIMME_GO_VERSION=$( echo $full_version | sed ' s/go//' )
14+ export GIMME_GO_VERSION=$( echo $go_mod_version | sed ' s/go//' )
1615 echo " Installing go $GIMME_GO_VERSION with gimme"
1716 eval " $( gimme) "
1817else
Original file line number Diff line number Diff line change 66go_mod_version=$1
77
88dnf install -y jq
9- full_version=$( curl -s https://go.dev/dl/? mode=json | jq -r .[].version | grep " $go_mod_version " )
109
1110case $( uname -m) in
1211 x86_64) arch=" amd64" ;;
@@ -18,6 +17,6 @@ if [ "$arch" == "" ]; then
1817 exit 1
1918fi
2019
21- tarball_url=" https://go.dev/dl/${full_version } .${os} -${arch} .tar.gz"
20+ tarball_url=" https://go.dev/dl/go ${version } .${os} -${arch} .tar.gz"
2221
2322curl --retry 10 -L $tarball_url | tar -C /usr/local -zxf -
Original file line number Diff line number Diff line change 11module github.com/nmstate/kubernetes-nmstate
22
3- go 1.22
3+ go 1.22.12
44
55require (
66 github.com/evanphx/json-patch v5.6.0+incompatible
You can’t perform that action at this time.
0 commit comments