From 42be4d44a1e2f857f8031d706bab9b338ecce248 Mon Sep 17 00:00:00 2001 From: Joseph Flinn Date: Thu, 17 Dec 2020 16:05:35 +0000 Subject: [PATCH] debugging act --- .az-pipelines/sign-windows-artifacts.yml | 7 +++++-- .az-pipelines/windows-build-sign.yml | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.az-pipelines/sign-windows-artifacts.yml b/.az-pipelines/sign-windows-artifacts.yml index 8598101955..79701b4c1c 100644 --- a/.az-pipelines/sign-windows-artifacts.yml +++ b/.az-pipelines/sign-windows-artifacts.yml @@ -33,8 +33,11 @@ steps: echo GIT_RELEASE_VERSION=$(git_release_version) displayName: 'show artifacts' -- script: azuresigntool sign -du "$(SigningURL)" -kvu "$(SigningVaultURL)" -kvi "$(SigningClientId)" -kvs "$(SigningClientSecret)" -kvc "$(SigningCertName)" -v -ifl "$(System.ArtifactsDirectory)\Bitwarden-$(git_release_version)-ia32.appx" "$(System.ArtifactsDirectory)\Bitwarden-$(git_release_version)-x64.appx" - displayName: 'Sign artifacts' + #- script: azuresigntool sign -du "$(SigningURL)" -kvu "$(SigningVaultURL)" -kvi "$(SigningClientId)" -kvs "$(SigningClientSecret)" -kvc "$(SigningCertName)" -v -ifl "$(System.ArtifactsDirectory)\Bitwarden-$(git_release_version)-ia32.appx" "$(System.ArtifactsDirectory)\Bitwarden-$(git_release_version)-x64.appx" + # displayName: 'Sign artifacts' + +- script: azuresigntool sign -kvu "https://code-signing-test-vault.vault.azure.net" -kvi "$(SigningClientId)" -kvs "$(SigningClientSecret)" -kvc "test-code-signing-pfx" -v -ifl "$(System.ArtifactsDirectory)\Bitwarden-$(git_release_version)-ia32.appx" "$(System.ArtifactsDirectory)\Bitwarden-$(git_release_version)-x64.appx" + displayName: 'Signing test' - task: PublishPipelineArtifact@1 inputs: diff --git a/.az-pipelines/windows-build-sign.yml b/.az-pipelines/windows-build-sign.yml index 0b05e64fb5..d07c75b913 100644 --- a/.az-pipelines/windows-build-sign.yml +++ b/.az-pipelines/windows-build-sign.yml @@ -25,6 +25,7 @@ steps: npm npm run clean:dist displayName: 'npm build' +# This task is not working... - script: npx electron-builder --win --x64 --ia32 -p never -c.win.certificateSubjectName="Bitwarden Inc" displayName: 'electron-builder package' env: