mirror of
https://github.com/ILoveBingLu/CipherTalk.git
synced 2026-05-20 03:23:21 +08:00
fix: prevent builder auto publish in release jobs
This commit is contained in:
@@ -13,12 +13,13 @@ const configPath = path.join(__dirname, 'electron-builder.config.cjs')
|
||||
|
||||
const result = spawnSync(
|
||||
process.execPath,
|
||||
[cliPath, `--${target}`, '--config', configPath],
|
||||
[cliPath, `--${target}`, '--config', configPath, '--publish', 'never'],
|
||||
{
|
||||
stdio: 'inherit',
|
||||
env: {
|
||||
...process.env,
|
||||
CIPHERTALK_BUILD_TARGET: target
|
||||
CIPHERTALK_BUILD_TARGET: target,
|
||||
CSC_IDENTITY_AUTO_DISCOVERY: 'false'
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user