[MM-38530] Update build to generate universal binaries (#1747)

* [MM-38530] Update build to generate universal binaries

* Rework to only build on releases, not needed for development/PR builds

* Update cp_artifacts script

* remove pr
This commit is contained in:
Devin Binnie
2021-09-22 09:28:53 -04:00
committed by GitHub
parent e8523067b0
commit 0a19d5815a
3 changed files with 16 additions and 3 deletions

View File

@@ -324,6 +324,10 @@ jobs:
os: mac
path: ./dist/macos-release
subpath: ./macos-release/
- build:
os: mac-universal
path: ./dist/macos-release
subpath: ./macos-release/
- run:
name: Get rename without brew as it might fail
command: curl -L https://github.com/ap/rename/archive/v1.601.tar.gz --output rename.tgz
@@ -557,7 +561,6 @@ workflows:
branches:
only:
- /^release-\d+(\.\d+){1,2}(-rc.*)?/
- pull/1680
- store_artifacts:
# for master/PR builds