Skip to content

Commit 15c612e

Browse files
SNOW-1555911: eplace hardcoded keypair alias with variable for signing windows installer (#2590)
refactor: replace hardcoded keypair alias with variable for signing process
1 parent 9203402 commit 15c612e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/packaging/win/build_installer.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ set SM_CLIENT_CERT_FILE=%WORKSPACE%\Certificate_pkcs12.p12
3030
smctl healthcheck || goto :error
3131
smctl windows certsync || goto :error
3232

33-
smctl sign --keypair-alias key_1311463644 --input dist\snow\snow.exe || goto :error
33+
smctl sign --keypair-alias %digicert_key_name% --input dist\snow\snow.exe || goto :error
3434
signtool verify /v /pa dist\snow\snow.exe || goto :error
3535

3636
candle.exe ^
@@ -48,7 +48,7 @@ light.exe ^
4848
snowflake_cli.wixobj ^
4949
snowflake_cli_exitdlg.wixobj || goto :error
5050

51-
smctl sign --keypair-alias key_1311463644 --input %CLI_MSI% || goto :error
51+
smctl sign --keypair-alias %digicert_key_name% --input %CLI_MSI% || goto :error
5252
signtool verify /v /pa %CLI_MSI% || goto :error
5353

5454
echo "[INFO] uploading artifacts"

0 commit comments

Comments
 (0)