cicd
This commit is contained in:
parent
a17c552b66
commit
9283c05115
2 changed files with 1 additions and 63 deletions
|
|
@ -1,51 +0,0 @@
|
|||
electronVersion: 9.0.0
|
||||
compression: normal
|
||||
npmRebuild: false
|
||||
# TODO: enable this in the future once we sign all the linux builds.
|
||||
#forceCodeSigning: true
|
||||
directories:
|
||||
output: dist
|
||||
buildResources: build
|
||||
app: .
|
||||
|
||||
mac:
|
||||
category: Reference
|
||||
icon: ./icons/icon.icns
|
||||
target:
|
||||
- target: dmg
|
||||
- target: zip
|
||||
|
||||
# steps for notarizing the MacOS builds:
|
||||
# https://kilianvalkhof.com/2019/electron/notarizing-your-electron-application/
|
||||
|
||||
hardenedRuntime: true
|
||||
gatekeeperAssess: false
|
||||
entitlements: build/macos/entitlements.mac.plist
|
||||
entitlementsInherit: build/macos/entitlements.mac.plist
|
||||
|
||||
dmg:
|
||||
# The inner app inside the .dmg is signed and there is some broken logic
|
||||
# which requires that the DMG itself is not signed.
|
||||
sign: false
|
||||
|
||||
|
||||
nsis:
|
||||
artifactName: ${name}-${version}-${arch}.${ext}
|
||||
|
||||
appx:
|
||||
artifactName: ${name}-${version}-${arch}.${ext}
|
||||
applicationId: polar
|
||||
identityName: 25130KevinBurton.PolarBookshelf
|
||||
publisher: CN=D3591277-F57D-4C75-B342-D158E6C4AAF5
|
||||
publisherDisplayName: Kevin Burton
|
||||
|
||||
|
||||
# https://www.electron.build/configuration/publish
|
||||
# https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/
|
||||
publish:
|
||||
provider: github
|
||||
publishAutoUpdate: true
|
||||
|
||||
asar: true
|
||||
afterPack: "./electron-builder-afterpack.js"
|
||||
afterSign: "./build/macos/notarize.js"
|
||||
13
package.json
13
package.json
|
|
@ -11,7 +11,7 @@
|
|||
"scripts": {
|
||||
"dev": "vue-cli-service electron:serve",
|
||||
"serve": "vue-cli-service serve",
|
||||
"build": "electron-builder --win",
|
||||
"build": "electron-builder --mac",
|
||||
"test:unit": "vue-cli-service test:unit",
|
||||
"lint": "vue-cli-service lint",
|
||||
"electron:build": "vue-cli-service electron:build",
|
||||
|
|
@ -30,17 +30,6 @@
|
|||
"publish": {
|
||||
"provider": "generic",
|
||||
"url": "https://gitlab.com/api/v4/projects/25637892/jobs/artifacts/master/raw/dist?job=build"
|
||||
},
|
||||
"win": {
|
||||
"target": [
|
||||
"nsis"
|
||||
],
|
||||
"verifyUpdateCodeSignature": false
|
||||
},
|
||||
"linux": {
|
||||
"target": [
|
||||
"AppImage"
|
||||
]
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue