Commit 5846c53b authored by nanahira's avatar nanahira

try electron-builder-notarize

parent 65133b21
...@@ -70,6 +70,9 @@ macOS: ...@@ -70,6 +70,9 @@ macOS:
variables: variables:
CSC_KEY_PASSWORD: $MACOS_CSC_KEY_PASSWORD CSC_KEY_PASSWORD: $MACOS_CSC_KEY_PASSWORD
CSC_LINK: $MACOS_CSC_LINK CSC_LINK: $MACOS_CSC_LINK
APPLE_ID: $MACOS_NOTARIZE_USERNAME
APPLE_ID_PASSWORD: $MACOS_NOTARIZE_PASSWORD
TEAM_SHORT_NAME: $MACOS_ASC_PROVIDER
script: script:
- npm ci - npm ci
- npm run dist - npm run dist
...@@ -78,15 +81,15 @@ macOS: ...@@ -78,15 +81,15 @@ macOS:
paths: paths:
- dist/ - dist/
macOS_notarize: #macOS_notarize:
stage: deploy # stage: deploy
dependencies: # dependencies:
- macOS # - macOS
tags: # tags:
- macOS # - macOS
script: ./.ci/macos-notarize.sh # script: ./.ci/macos-notarize.sh
only: # only:
- tags # - tags
upload_to_minio: upload_to_minio:
stage: deploy stage: deploy
......
This diff is collapsed.
...@@ -75,6 +75,7 @@ ...@@ -75,6 +75,7 @@
"@types/typeahead": "latest", "@types/typeahead": "latest",
"electron": "^4.2.12", "electron": "^4.2.12",
"electron-builder": "latest", "electron-builder": "latest",
"electron-builder-notarize": "^1.2.0",
"rollup": "latest", "rollup": "latest",
"rollup-plugin-commonjs": "latest", "rollup-plugin-commonjs": "latest",
"rollup-plugin-node-resolve": "latest", "rollup-plugin-node-resolve": "latest",
...@@ -112,6 +113,11 @@ ...@@ -112,6 +113,11 @@
} }
] ]
}, },
"afterSign": "electron-builder-notarize",
"mac": {
"hardenedRuntime": true,
"entitlements": "./node_modules/electron-builder-notarize/entitlements.mac.inherit.plist"
},
"dmg": { "dmg": {
"contents": [ "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