cloudflared-mirror/.teamcity/mac/install-cloudflare-go.sh

15 lines
357 B
Bash
Executable File

cd /tmp/
rm -rf go
rm -rf gocache
export GOCACHE=/tmp/gocache
git clone -q https://github.com/cloudflare/go
cd go/src
# https://github.com/cloudflare/go/tree/34129e47042e214121b6bbff0ded4712debed18e is version go1.21.5-devel-cf
git checkout -q 34129e47042e214121b6bbff0ded4712debed18e
./make.bash
export PATH="/tmp/go/bin:$PATH"
go version
which go
go env