Skip to content

Commit

Permalink
ci(app-shell): use notarytool for OSX signing (#13883)
Browse files Browse the repository at this point in the history
  • Loading branch information
b-cooper authored Oct 31, 2023
1 parent 2ef4f9a commit e23a8ea
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion app-shell/electron-builder.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
const path = require('path')
const { versionForProject } = require('../scripts/git-version')

const { OT_APP_DEPLOY_BUCKET, OT_APP_DEPLOY_FOLDER } = process.env
const {
OT_APP_DEPLOY_BUCKET,
OT_APP_DEPLOY_FOLDER,
APPLE_TEAM_ID,
} = process.env
const DEV_MODE = process.env.NODE_ENV !== 'production'
const USE_PYTHON = process.env.NO_PYTHON !== 'true'
const project = process.env.OPENTRONS_PROJECT ?? 'robot-stack'
Expand Down Expand Up @@ -56,6 +60,9 @@ module.exports = async () => ({
icon: project === 'robot-stack' ? 'build/icon.icns' : 'build/three.icns',
forceCodeSigning: !DEV_MODE,
gatekeeperAssess: true,
notarize: {
teamId: APPLE_TEAM_ID,
},
},
dmg: {
icon: null,
Expand Down

0 comments on commit e23a8ea

Please sign in to comment.