AUTH-2864 - add macos build to github release

This commit is contained in:
Dalton 2020-08-07 14:01:38 -05:00
parent edb980d439
commit b698fe5ef3
2 changed files with 14 additions and 0 deletions

View File

@ -146,6 +146,11 @@ github-release: cloudflared
github-message:
python3 github_message.py --release-version $(VERSION)
.PHONY: github-mac-upload
github-mac-upload:
python3 github_release.py --path .artifacts/cloudflared-darwin-amd64.tgz --release-version $(VERSION) --name cloudflared-darwin-amd64.tgz
python3 github_release.py --path .artifacts/cloudflared-amd64.pkg --release-version $(VERSION) --name cloudflared-amd64.pkg
bin/equinox:
mkdir -p bin
curl -s https://bin.equinox.io/c/75JtLRTsJ3n/release-tool-beta-$(EQUINOX_PLATFORM).tgz | tar xz -C bin/

View File

@ -172,6 +172,15 @@ stretch: &stretch
- export GOARCH=arm64
- export CC=aarch64-linux-gnu-gcc
- make github-release
github-release-macos-amd64:
build_dir: *build_dir
builddeps:
- *pinned_go
- python3-setuptools
- python3-pip
post-cache:
- pip3 install pygithub
- make github-mac-upload
test:
build_dir: *build_dir
builddeps: