Commit 5846c53b authored by nanahira's avatar nanahira

try electron-builder-notarize

parent 65133b21
......@@ -70,6 +70,9 @@ macOS:
variables:
CSC_KEY_PASSWORD: $MACOS_CSC_KEY_PASSWORD
CSC_LINK: $MACOS_CSC_LINK
APPLE_ID: $MACOS_NOTARIZE_USERNAME
APPLE_ID_PASSWORD: $MACOS_NOTARIZE_PASSWORD
TEAM_SHORT_NAME: $MACOS_ASC_PROVIDER
script:
- npm ci
- npm run dist
......@@ -78,15 +81,15 @@ macOS:
paths:
- dist/
macOS_notarize:
stage: deploy
dependencies:
- macOS
tags:
- macOS
script: ./.ci/macos-notarize.sh
only:
- tags
#macOS_notarize:
# stage: deploy
# dependencies:
# - macOS
# tags:
# - macOS
# script: ./.ci/macos-notarize.sh
# only:
# - tags
upload_to_minio:
stage: deploy
......
This diff is collapsed.
......@@ -75,6 +75,7 @@
"@types/typeahead": "latest",
"electron": "^4.2.12",
"electron-builder": "latest",
"electron-builder-notarize": "^1.2.0",
"rollup": "latest",
"rollup-plugin-commonjs": "latest",
"rollup-plugin-node-resolve": "latest",
......@@ -112,6 +113,11 @@
}
]
},
"afterSign": "electron-builder-notarize",
"mac": {
"hardenedRuntime": true,
"entitlements": "./node_modules/electron-builder-notarize/entitlements.mac.inherit.plist"
},
"dmg": {
"contents": [
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment