mirror of
https://github.com/WowUp/WowUp.git
synced 2026-02-19 07:06:08 -05:00
tweak signing
This commit is contained in:
@@ -39,13 +39,15 @@ function sign(configuration) {
|
||||
// setNonProdConfig();
|
||||
// }
|
||||
|
||||
const credentialId = isNonProd
|
||||
? process.env.WINDOWS_SIGN_CREDENTIAL_ID_NONPROD
|
||||
: process.env.WINDOWS_SIGN_CREDENTIAL_ID_PROD;
|
||||
const credentialId = process.env.WINDOWS_SIGN_CREDENTIAL_ID_PROD;
|
||||
// const credentialId = isNonProd
|
||||
// ? process.env.WINDOWS_SIGN_CREDENTIAL_ID_NONPROD
|
||||
// : process.env.WINDOWS_SIGN_CREDENTIAL_ID_PROD;
|
||||
|
||||
const username = process.env.WINDOWS_SIGN_USER_NAME;
|
||||
const password = process.env.WINDOWS_SIGN_USER_PASSWORD;
|
||||
const totpSecret = isNonProd ? process.env.WINDOWS_SIGN_USER_TOTP_NONPROD : process.env.WINDOWS_SIGN_USER_TOTP_PROD;
|
||||
const totpSecret = process.env.WINDOWS_SIGN_USER_TOTP_PROD;
|
||||
// const totpSecret = isNonProd ? process.env.WINDOWS_SIGN_USER_TOTP_NONPROD : process.env.WINDOWS_SIGN_USER_TOTP_PROD;
|
||||
|
||||
console.debug(`Signing file ${configuration.path}`);
|
||||
console.debug(`Using credential ID: ${credentialId} (${credentialId.length})`);
|
||||
|
||||
Reference in New Issue
Block a user