Skip to content

Commit 86b50ed

Browse files
committed
TUN-8072: Add script to download cloudflare go for Mac build agents
1 parent 652df22 commit 86b50ed

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.teamcity/build-macos.sh renamed to .teamcity/mac/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ if [[ ! -z "$CODE_SIGN_NAME" ]]; then
143143
codesign -s "${CODE_SIGN_NAME}" -f -v --timestamp --options runtime ${BINARY_NAME}
144144

145145
# notarize the binary
146-
# TODO: https://jira.cfdata.org/browse/TUN-5789
146+
# TODO: TUN-5789
147147
fi
148148

149149
# creating build directory
@@ -169,7 +169,7 @@ if [[ ! -z "$PKG_SIGN_NAME" ]]; then
169169
${PKGNAME}
170170

171171
# notarize the package
172-
# TODO: https://jira.cfdata.org/browse/TUN-5789
172+
# TODO: TUN-5789
173173
else
174174
pkgbuild --identifier com.cloudflare.${PRODUCT} \
175175
--version ${VERSION} \
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
cd /tmp/
2+
git clone -q https://github.com/cloudflare/go
3+
cd go/src
4+
# https://github.com/cloudflare/go/tree/34129e47042e214121b6bbff0ded4712debed18e is version go1.21.5-devel-cf
5+
git checkout -q 34129e47042e214121b6bbff0ded4712debed18e
6+
./make.bash
7+
8+
export PATH="/tmp/go/bin:$PATH"
9+
go version
10+
which go
11+
go env

0 commit comments

Comments
 (0)