fix: Improve macOS support
This commit is contained in:
8
.github/workflows/electron-build.yml
vendored
8
.github/workflows/electron-build.yml
vendored
@@ -169,11 +169,17 @@ jobs:
|
||||
echo "Imported certificates:"
|
||||
security find-identity -v -p codesigning $KEYCHAIN_PATH
|
||||
|
||||
- name: Set version for build
|
||||
if: steps.check_certs.outputs.has_certs == 'true'
|
||||
run: |
|
||||
npm version 1.8.${{ github.run_number }} --no-git-tag-version
|
||||
echo "Version set to:"
|
||||
grep '"version"' package.json
|
||||
|
||||
- name: Build macOS App Store Package
|
||||
if: steps.check_certs.outputs.has_certs == 'true'
|
||||
env:
|
||||
ELECTRON_BUILDER_ALLOW_UNRESOLVED_DEPENDENCIES: true
|
||||
BUILD_NUMBER: ${{ github.run_number }}
|
||||
run: npm run build:mac
|
||||
|
||||
- name: List release directory
|
||||
|
||||
@@ -77,8 +77,6 @@
|
||||
"minimumSystemVersion": "10.15"
|
||||
},
|
||||
"mas": {
|
||||
"bundleShortVersion": "1.8.0",
|
||||
"bundleVersion": "1.8.${env.BUILD_NUMBER}",
|
||||
"provisioningProfile": "build/Termix_Mac_App_Store.provisionprofile",
|
||||
"entitlements": "build/entitlements.mas.plist",
|
||||
"entitlementsInherit": "build/entitlements.mas.inherit.plist",
|
||||
|
||||
Reference in New Issue
Block a user