Skip to content

Commit

Permalink
Fix appveyor updates in update-go-version.sh
Browse files Browse the repository at this point in the history
Commit 9dca453 removed the "" around C:\go116 in PATH, but
the regex update-go-version.sh was not updated to match this.
  • Loading branch information
cfergeau authored and praveenkumar committed Apr 12, 2022
1 parent 168dba8 commit 4dfe9d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update-go-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ sed -i "s,^FROM registry.access.redhat.com/ubi8/go-toolset:[.0-9]\+ as builder\$
sed -i "s/GOVERSION: .*\$/GOVERSION: \"${latest_version}\"/" .circleci/config.yml
sed -i "s/^GO_VERSION=.*$/GO_VERSION=${latest_version}/" centos_ci.sh
appveyor_go_version=$(echo $golang_base_version | tr -d .)
sed -i 's/set PATH="C:\\go[0-9]\+"/set PATH="C:\\go'${appveyor_go_version}'"/' ./appveyor.yml
sed -i 's/set PATH=C:\\go[0-9]\+/set PATH=C:\\go'${appveyor_go_version}'/' ./appveyor.yml

0 comments on commit 4dfe9d4

Please sign in to comment.