chore(ci): add osx notarize

pull/1237/head
defclass 2021-02-02 11:17:42 +08:00
parent ef9aed0d5b
commit e100f64dcc
2 changed files with 11 additions and 2 deletions

View File

@ -51,6 +51,12 @@ jobs:
sed -i 's/"version": "0.0.1"/"version": "${{ github.event.inputs.tag-version }}"/g' ./package.json
working-directory: ./static
- name: Update OSX Packager Config
run: |
sed -i 's/my-fake-apple-id/${{ secrets.APPLE_ID_EMAIL }}/g' ./forge.config.js
sed -i 's/my-fake-apple-id-password/${{ secrets.APPLE_ID_PASSWORD }}/g' ./forge.config.js
working-directory: ./static
- name: Display Package.json
run: cat ./package.json
working-directory: ./static

View File

@ -9,9 +9,12 @@ module.exports = {
entitlements: 'entitlements.plist',
'entitlements-inherit': 'entitlements.plist',
'signature-flags': 'library'
}
},
osxNotarize: {
appleId: "my-fake-apple-id",
appleIdPassword: "my-fake-apple-id-password",
},
},
makers: [
{
'name': '@electron-forge/maker-squirrel',