diff --git a/.az-pipelines/sign-windows-artifacts.yml b/.az-pipelines/sign-windows-artifacts.yml index a115986b5f..a583edb566 100644 --- a/.az-pipelines/sign-windows-artifacts.yml +++ b/.az-pipelines/sign-windows-artifacts.yml @@ -16,16 +16,16 @@ steps: git clone https://github.com/vcsjones/AzureSignTool.git cd AzureSignTool dotnet --version - dotnet build + dotnet pack --output ./nupkg + dotnet tool install --global --add-source ./nupkg azuresigntool displayName: 'Install AST' - script: | - cd AzureSignTool - dotnet run --project src/AzureSignTool -- sign --help + azuresigntool -- sign --help displayName: 'Debugging AST' - script: exit 1 - displayName: Premature Exit + displayName: 'Early Exit' - task: DownloadGitHubRelease@0 inputs: @@ -44,7 +44,7 @@ steps: displayName: 'show artifacts' - script: | - azuresigntool sign -kvu "$(SigningVaultURL)" -kvi "$(SigningClientId)" -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" + 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" displayName: 'Sign artifacts' - task: PublishPipelineArtifact@1