mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-23 04:49:59 +00:00
Update build-windows.mjs
This commit is contained in:
parent
d8a92400a2
commit
0a1e4b177e
@ -5,9 +5,9 @@ import * as vars from './vars.mjs'
|
||||
import { execSync } from 'child_process'
|
||||
|
||||
const isTag = (process.env.GITHUB_REF || process.env.BUILD_SOURCEBRANCH || '').startsWith('refs/tags/')
|
||||
const keypair = process.env.SM_KEYPAIR_ALIAS
|
||||
|
||||
process.env.ARCH = process.env.ARCH || process.arch
|
||||
console.log(process.env)
|
||||
|
||||
builder({
|
||||
dir: true,
|
||||
@ -31,7 +31,7 @@ builder({
|
||||
sign: async function (configuration) {
|
||||
if (configuration.path) {
|
||||
execSync(
|
||||
`smctl sign --keypair-alias=${process.env.SM_KEYPAIR_ALIAS} --input "${String(configuration.path)}"`, {
|
||||
`smctl sign --keypair-alias=${keypair} --input "${String(configuration.path)}"`, {
|
||||
stdio: 'inherit'
|
||||
}
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user