TUN-8520: add macos arm64 build

- refactor build script for macos to include arm64 build
- refactor Makefile to upload all the artifacts instead of issuing one by one
- update cfsetup due to 2.
- place build files in specific folders
- cleanup build directory before/after creating build artifacts
This commit is contained in:
lneto
2024-07-05 19:39:22 +01:00
parent 75752b681b
commit c95959e845
2 changed files with 48 additions and 40 deletions

View File

@@ -241,8 +241,7 @@ github-message:
.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
python3 github_release.py --path artifacts --release-version $(VERSION)
.PHONY: github-windows-upload
github-windows-upload: