AUTH-2864 - add macos build to github release
This commit is contained in:
parent
edb980d439
commit
b698fe5ef3
5
Makefile
5
Makefile
|
@ -146,6 +146,11 @@ github-release: cloudflared
|
||||||
github-message:
|
github-message:
|
||||||
python3 github_message.py --release-version $(VERSION)
|
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:
|
bin/equinox:
|
||||||
mkdir -p bin
|
mkdir -p bin
|
||||||
curl -s https://bin.equinox.io/c/75JtLRTsJ3n/release-tool-beta-$(EQUINOX_PLATFORM).tgz | tar xz -C bin/
|
curl -s https://bin.equinox.io/c/75JtLRTsJ3n/release-tool-beta-$(EQUINOX_PLATFORM).tgz | tar xz -C bin/
|
||||||
|
|
|
@ -172,6 +172,15 @@ stretch: &stretch
|
||||||
- export GOARCH=arm64
|
- export GOARCH=arm64
|
||||||
- export CC=aarch64-linux-gnu-gcc
|
- export CC=aarch64-linux-gnu-gcc
|
||||||
- make github-release
|
- 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:
|
test:
|
||||||
build_dir: *build_dir
|
build_dir: *build_dir
|
||||||
builddeps:
|
builddeps:
|
||||||
|
|
Loading…
Reference in New Issue