1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01:00

trying the stackoverflow tutorial

This commit is contained in:
Joseph Flinn 2020-12-29 16:21:26 +00:00
parent 165d497b1f
commit dbce594727

View File

@ -7,14 +7,18 @@ variables:
- group: code-signing-test
steps:
- task: DotNetCoreCLI@2
inputs:
command: 'custom'
custom: 'tool'
arguments: 'install --global azuresigntool'
displayName: 'install AzureSignTool'
#- task: DotNetCoreCLI@2
# inputs:
# command: 'custom'
# custom: 'tool'
# arguments: 'install --global azuresigntool'
# displayName: 'install AzureSignTool'
- script: azuresigntool sign --help
- script: |
set DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
dotnet tool install --global AzureSignTool --version 2.0.17
- script: AzureSignTool.exe sign --help
displayName: 'Debugging AST'
- task: DownloadGitHubRelease@0
@ -33,18 +37,14 @@ steps:
echo GIT_RELEASE_VERSION=$(git_release_version)
displayName: 'show artifacts'
- task: CmdLine@2
displayName: 'Sign artifact test'
inputs:
script: AzureSignTool sign -du "$(SigningURL)" -kvu "$(SigningVaultURL)" -kvi "$(SigningClientId)" -kvs "$(SigningClientSecret)" -kvc "$(SigningCertName)" -v "$(System.ArtifactsDirectory)\Bitwarden-$(git_release_version)-ia32.appx"
- script: |
azuresigntool sign ^
AzureSignTool.exe sign ^
-kvu "$(SigningVaultURL)" ^
-kvi "$(SigningClientId)" ^
-kvs "$(SigningClientSecret)" ^
-kvt "$(SigningTenantId)" ^
-kvc "$(SigningCertName)" ^
-tr http://timestamp.digicert.com ^
-v ^
"$(System.ArtifactsDirectory)\Bitwarden-$(git_release_version)-ia32.appx"
displayName: 'Sign artifacts 32-bit'
@ -60,6 +60,11 @@ steps:
"$(System.ArtifactsDirectory)\Bitwarden-$(git_release_version)-x64.appx"
displayName: 'Sign artifacts 64-bit'
- task: CmdLine@2
displayName: 'Sign artifact test'
inputs:
script: AzureSignTool sign -du "$(SigningURL)" -kvu "$(SigningVaultURL)" -kvi "$(SigningClientId)" -kvs "$(SigningClientSecret)" -kvc "$(SigningCertName)" -v "$(System.ArtifactsDirectory)\Bitwarden-$(git_release_version)-ia32.appx"
- task: PublishPipelineArtifact@1
inputs:
pathToPublish: '$(System.DefaultWorkingDirectory)/dist/Bitwarden-$(git_release_version)-ia32.appx'