diff --git a/.github/workflows/electron-build.yml b/.github/workflows/electron-build.yml index 87df98e3..71b0703c 100644 --- a/.github/workflows/electron-build.yml +++ b/.github/workflows/electron-build.yml @@ -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 diff --git a/electron-builder.json b/electron-builder.json index 92ff72e1..816c1351 100644 --- a/electron-builder.json +++ b/electron-builder.json @@ -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",