1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-30 13:03:53 +01:00

testing manaul install of AST

This commit is contained in:
Joseph Flinn 2020-12-31 19:48:23 +00:00
parent 2d2c1d632e
commit 23e2e08425

View File

@ -16,16 +16,16 @@ steps:
git clone https://github.com/vcsjones/AzureSignTool.git git clone https://github.com/vcsjones/AzureSignTool.git
cd AzureSignTool cd AzureSignTool
dotnet --version dotnet --version
dotnet build dotnet pack --output ./nupkg
dotnet tool install --global --add-source ./nupkg azuresigntool
displayName: 'Install AST' displayName: 'Install AST'
- script: | - script: |
cd AzureSignTool azuresigntool -- sign --help
dotnet run --project src/AzureSignTool -- sign --help
displayName: 'Debugging AST' displayName: 'Debugging AST'
- script: exit 1 - script: exit 1
displayName: Premature Exit displayName: 'Early Exit'
- task: DownloadGitHubRelease@0 - task: DownloadGitHubRelease@0
inputs: inputs:
@ -44,7 +44,7 @@ steps:
displayName: 'show artifacts' displayName: 'show artifacts'
- script: | - 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' displayName: 'Sign artifacts'
- task: PublishPipelineArtifact@1 - task: PublishPipelineArtifact@1