From 4dfe9d468c34f20cf8e81200721cfa1a11990bdf Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Tue, 12 Apr 2022 11:27:47 +0200 Subject: [PATCH] Fix appveyor updates in update-go-version.sh Commit 9dca453e0d removed the "" around C:\go116 in PATH, but the regex update-go-version.sh was not updated to match this. --- update-go-version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-go-version.sh b/update-go-version.sh index 38bab968a2..992948340a 100755 --- a/update-go-version.sh +++ b/update-go-version.sh @@ -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