Skip to content

Commit

Permalink
build: disable sign without failing builds (#15743)
Browse files Browse the repository at this point in the history
Edge needs to be able to produce builds that aren't signed now.
  • Loading branch information
sfoster1 authored Jul 23, 2024
1 parent 6b8f7fd commit 325c867
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app-shell/scripts/windows-custom-sign.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
const { execSync } = require('node:child_process')

exports.default = async configuration => {
const { WINDOWS_SIGN } = process.env
if (WINDOWS_SIGN !== 'true') {
return
}
const signCmd = `smctl sign --keypair-alias="${String(
process.env.SM_KEYPAIR_ALIAS
)}" --input "${String(configuration.path)}" --certificate="${String(
Expand Down

0 comments on commit 325c867

Please sign in to comment.