feat: Improve build scripts signing (#4)

This commit is contained in:
Eric Tuvesson
2024-03-26 22:32:04 +01:00
committed by GitHub
parent ff3b29b097
commit da0a17a6e8
3 changed files with 12 additions and 3 deletions

View File

@@ -7,6 +7,7 @@ import { BuildTarget, getDistPlatform } from './platform/build-platforms';
// Inputs
const DISABLE_SIGNING = valueToBoolean(process.env.DISABLE_SIGNING);
const TARGET_PLATFORM = process.env.TARGET_PLATFORM;
const CSC_NAME = process.env.CSC_NAME;
if (!TARGET_PLATFORM) throw new Error('TARGET_PLATFORM is falsy');
@@ -48,7 +49,7 @@ import { BuildTarget, getDistPlatform } from './platform/build-platforms';
DISABLE_SIGNING
? {}
: {
// CSC_NAME: 'Add signing name here'
CSC_NAME
},
process.env
)