Fix MAS build (#2978)
This commit is contained in:
5
.github/workflows/nightly-main.yml
vendored
5
.github/workflows/nightly-main.yml
vendored
@@ -111,7 +111,6 @@ jobs:
|
|||||||
mac-app-store-preflight:
|
mac-app-store-preflight:
|
||||||
runs-on: macos-12
|
runs-on: macos-12
|
||||||
env:
|
env:
|
||||||
MAC_PROFILE: ${{ secrets.MM_DESKTOP_MAC_INSTALLER_DMG_PROFILE }}
|
|
||||||
MAS_PROFILE: ${{ secrets.MM_DESKTOP_MAC_APP_STORE_MAS_PROFILE }}
|
MAS_PROFILE: ${{ secrets.MM_DESKTOP_MAC_APP_STORE_MAS_PROFILE }}
|
||||||
MACOS_API_KEY_ID: ${{ secrets.MM_DESKTOP_MAC_APP_STORE_MACOS_API_KEY_ID }}
|
MACOS_API_KEY_ID: ${{ secrets.MM_DESKTOP_MAC_APP_STORE_MACOS_API_KEY_ID }}
|
||||||
MACOS_API_KEY: ${{ secrets.MM_DESKTOP_MAC_APP_STORE_MACOS_API_KEY }}
|
MACOS_API_KEY: ${{ secrets.MM_DESKTOP_MAC_APP_STORE_MACOS_API_KEY }}
|
||||||
@@ -135,9 +134,7 @@ jobs:
|
|||||||
brew install yq
|
brew install yq
|
||||||
npm ci
|
npm ci
|
||||||
- name: nightly/copy-provisioning-profile
|
- name: nightly/copy-provisioning-profile
|
||||||
run: |
|
run: echo $MAS_PROFILE | base64 -D > ./mas.provisionprofile
|
||||||
echo $MAC_PROFILE | base64 -D > ./mac.provisionprofile
|
|
||||||
echo $MAS_PROFILE | base64 -D > ./mas.provisionprofile
|
|
||||||
- name: nightly/patch-version-number-for-MAS
|
- name: nightly/patch-version-number-for-MAS
|
||||||
run: ./scripts/patch_mas_version.sh
|
run: ./scripts/patch_mas_version.sh
|
||||||
- name: nightly/test
|
- name: nightly/test
|
||||||
|
5
.github/workflows/release-mas.yaml
vendored
5
.github/workflows/release-mas.yaml
vendored
@@ -17,7 +17,6 @@ jobs:
|
|||||||
mac-app-store-preflight:
|
mac-app-store-preflight:
|
||||||
runs-on: macos-12
|
runs-on: macos-12
|
||||||
env:
|
env:
|
||||||
MAC_PROFILE: ${{ secrets.MM_DESKTOP_MAC_INSTALLER_DMG_PROFILE }}
|
|
||||||
MAS_PROFILE: ${{ secrets.MM_DESKTOP_MAC_APP_STORE_MAS_PROFILE }}
|
MAS_PROFILE: ${{ secrets.MM_DESKTOP_MAC_APP_STORE_MAS_PROFILE }}
|
||||||
MACOS_API_KEY_ID: ${{ secrets.MM_DESKTOP_MAC_APP_STORE_MACOS_API_KEY_ID }}
|
MACOS_API_KEY_ID: ${{ secrets.MM_DESKTOP_MAC_APP_STORE_MACOS_API_KEY_ID }}
|
||||||
MACOS_API_KEY: ${{ secrets.MM_DESKTOP_MAC_APP_STORE_MACOS_API_KEY }}
|
MACOS_API_KEY: ${{ secrets.MM_DESKTOP_MAC_APP_STORE_MACOS_API_KEY }}
|
||||||
@@ -39,9 +38,7 @@ jobs:
|
|||||||
brew install yq
|
brew install yq
|
||||||
npm ci
|
npm ci
|
||||||
- name: release/copy-provisioning-profile
|
- name: release/copy-provisioning-profile
|
||||||
run: |
|
run: echo $MAS_PROFILE | base64 -D > ./mas.provisionprofile
|
||||||
echo $MAC_PROFILE | base64 -D > ./mac.provisionprofile
|
|
||||||
echo $MAS_PROFILE | base64 -D > ./mas.provisionprofile
|
|
||||||
- name: release/patch-version-number-for-MAS
|
- name: release/patch-version-number-for-MAS
|
||||||
run: ./scripts/patch_mas_version.sh
|
run: ./scripts/patch_mas_version.sh
|
||||||
- name: release/test
|
- name: release/test
|
||||||
|
@@ -111,8 +111,7 @@
|
|||||||
},
|
},
|
||||||
"notarize": {
|
"notarize": {
|
||||||
"teamId": "UQ8HT4Q2XM"
|
"teamId": "UQ8HT4Q2XM"
|
||||||
},
|
}
|
||||||
"provisioningProfile": "./mac.provisionprofile"
|
|
||||||
},
|
},
|
||||||
"mas": {
|
"mas": {
|
||||||
"hardenedRuntime": false,
|
"hardenedRuntime": false,
|
||||||
|
@@ -64,7 +64,7 @@
|
|||||||
"package": "run-s package:windows package:windows-nsis package:mac-with-universal package:mas package:linux",
|
"package": "run-s package:windows package:windows-nsis package:mac-with-universal package:mas package:linux",
|
||||||
"package:windows": "npm run build-prod && electron-builder --win zip --x64 --ia32 --arm64 --publish=never",
|
"package:windows": "npm run build-prod && electron-builder --win zip --x64 --ia32 --arm64 --publish=never",
|
||||||
"package:windows-nsis": "npm run build-prod-upgrade && electron-builder --win zip nsis --x64 --ia32 --arm64 --publish=never",
|
"package:windows-nsis": "npm run build-prod-upgrade && electron-builder --win zip nsis --x64 --ia32 --arm64 --publish=never",
|
||||||
"package:mac": "npm run build-prod && electron-builder --mac --x64 --arm64 --publish=never",
|
"package:mac": "npm run build-prod && electron-builder --config.mac.provisioningProfile=./mac.provisionProfile --mac --x64 --arm64 --publish=never",
|
||||||
"package:mac-with-universal": "npm run package:mac -- --universal",
|
"package:mac-with-universal": "npm run package:mac -- --universal",
|
||||||
"package:mas": "npm run build-prod-mas && electron-builder --mac mas --universal --publish=never",
|
"package:mas": "npm run build-prod-mas && electron-builder --mac mas --universal --publish=never",
|
||||||
"package:mas-dev": "npm run build-prod-mas && electron-builder --mac mas-dev --universal --publish=never",
|
"package:mas-dev": "npm run build-prod-mas && electron-builder --mac mas-dev --universal --publish=never",
|
||||||
|
Reference in New Issue
Block a user