From a1d950e33e1f55f45bb7542a0dd762006272955c Mon Sep 17 00:00:00 2001 From: Joseph Flinn Date: Tue, 5 Jan 2021 14:43:01 +0000 Subject: [PATCH] idk what's wrong... --- .az-pipelines/sign-windows-artifacts.yml | 1 - .az-pipelines/windows-build-sign.yml | 9 +++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.az-pipelines/sign-windows-artifacts.yml b/.az-pipelines/sign-windows-artifacts.yml index 479bd34012..70d7abe42d 100644 --- a/.az-pipelines/sign-windows-artifacts.yml +++ b/.az-pipelines/sign-windows-artifacts.yml @@ -45,7 +45,6 @@ steps: - script: | azuresigntool sign -kvu "$(SigningVaultURL)" -kvi "$(SigningClientId)" -kvt "$(SigningTenantId)" -kvs "$(SigningClientSecret)" -kvc "$(SigningCertName)" -tr http://timestamp.digicert.com "$(System.ArtifactsDirectory)\Bitwarden-$(git_release_version)-ia32-store.appx" "$(System.ArtifactsDirectory)\Bitwarden-$(git_release_version)-x64-store.appx" - echo $(SigningClientSecret) displayName: 'Sign artifacts' - task: PublishPipelineArtifact@1 diff --git a/.az-pipelines/windows-build-sign.yml b/.az-pipelines/windows-build-sign.yml index 077b1fb0e4..d64a6e12c4 100644 --- a/.az-pipelines/windows-build-sign.yml +++ b/.az-pipelines/windows-build-sign.yml @@ -9,16 +9,15 @@ pool: vmImage: 'windows-latest' variables: -- group: build-sign-test +- group: code-signing-test steps: - pwsh: | Write-Host "------------------------" - Write-Host "secret test - $env:SECRET_TEST" - Write-Host "new var test - $env:NEW_VAR_TEST" + Write-Host "secret test - $env:CSC_KEY_PASSWORD" Write-Host "SIGNING_CERT_NAME - $env:SIGNING_CERT_NAME" Write-Host "---" - Write Host "This shouldn't work - $(secretTest)" + Write Host "This shouldn't work - $(ebSigningCertKey)" Write-Host "------------------------" displayName: 'Var & Secret Testing' env: @@ -29,8 +28,6 @@ steps: SIGNING_TENTANT_ID: $(SigningTenantId) SIGNING_CLIENT_SECRET: $(SigningClientSecret) SIGNING_CERT_NAME: $(SigningCertName) - NEW_VAR_TEST: $(newVarTest) - SECRET_TEST: $(secretTest) - script: exit 1 displayName: Stop Pipeline