Skip to content

Commit b698fe5

Browse files
author
Dalton
committed
AUTH-2864 - add macos build to github release
1 parent edb980d commit b698fe5

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,11 @@ github-release: cloudflared
146146
github-message:
147147
python3 github_message.py --release-version $(VERSION)
148148

149+
.PHONY: github-mac-upload
150+
github-mac-upload:
151+
python3 github_release.py --path .artifacts/cloudflared-darwin-amd64.tgz --release-version $(VERSION) --name cloudflared-darwin-amd64.tgz
152+
python3 github_release.py --path .artifacts/cloudflared-amd64.pkg --release-version $(VERSION) --name cloudflared-amd64.pkg
153+
149154
bin/equinox:
150155
mkdir -p bin
151156
curl -s https://bin.equinox.io/c/75JtLRTsJ3n/release-tool-beta-$(EQUINOX_PLATFORM).tgz | tar xz -C bin/

cfsetup.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,15 @@ stretch: &stretch
172172
- export GOARCH=arm64
173173
- export CC=aarch64-linux-gnu-gcc
174174
- make github-release
175+
github-release-macos-amd64:
176+
build_dir: *build_dir
177+
builddeps:
178+
- *pinned_go
179+
- python3-setuptools
180+
- python3-pip
181+
post-cache:
182+
- pip3 install pygithub
183+
- make github-mac-upload
175184
test:
176185
build_dir: *build_dir
177186
builddeps:

0 commit comments

Comments
 (0)