Skip to content

Commit

Permalink
Fix script scripts/prepareUbuntuInstanceForITests.sh for new go.dev API
Browse files Browse the repository at this point in the history
* Adapt finding the current go version to the new result of https://go.dev/VERSION\?m=text by using only the first line.


Co-authored-by: JanHoefelmeyer <[email protected]>
  • Loading branch information
JanHoefelmeyer and JanHoefelmeyer authored Aug 17, 2023
1 parent 0b914f7 commit bda7ade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/scripts/prepareUbuntuInstanceForITests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ apt update
apt install -y make bash curl gnupg sed tar git nginx fcgiwrap gnutls-bin

# Install Go from binary distribution
latest_go="$(curl https://go.dev/VERSION\?m=text).linux-amd64.tar.gz"
latest_go="$(curl https://go.dev/VERSION\?m=text| head -1).linux-amd64.tar.gz"
curl -O https://dl.google.com/go/$latest_go
rm -rf /usr/local/go # be sure that we do not have an old installation
tar -C /usr/local -xzf $latest_go
Expand Down

0 comments on commit bda7ade

Please sign in to comment.