From 3fdd1f8cfe07b5c464635431a8e70aaab1cb7931 Mon Sep 17 00:00:00 2001 From: develar Date: Sun, 3 Jul 2016 10:19:22 +0200 Subject: [PATCH] fix: CSC_INSTALLER_KEY_PASSWORD environment variable isn't picked up #560 --- src/builder.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/builder.ts b/src/builder.ts index 606693e5919..a9f671883dc 100644 --- a/src/builder.ts +++ b/src/builder.ts @@ -199,6 +199,9 @@ export async function build(rawOptions?: CliOptions): Promise { if (options.cscKeyPassword === undefined && !isEmptyOrSpaces(process.env.CSC_KEY_PASSWORD)) { options.cscKeyPassword = process.env.CSC_KEY_PASSWORD } + if (options.cscInstallerKeyPassword === undefined && !isEmptyOrSpaces(process.env.CSC_INSTALLER_KEY_PASSWORD)) { + options.cscInstallerKeyPassword = process.env.CSC_INSTALLER_KEY_PASSWORD + } if (options.githubToken === undefined && !isEmptyOrSpaces(process.env.GH_TOKEN)) { options.githubToken = process.env.GH_TOKEN }