1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-07 09:31:31 +01:00

adding in the signing test

This commit is contained in:
Joseph Flinn 2020-12-16 22:03:54 +00:00
parent 53f15dc788
commit 18e55133ba

View File

@ -27,17 +27,19 @@ steps:
echo GIT_RELEASE_VERSION=$(git_release_version)
displayName: 'show artifacts'
#- task: CmdLine@2
# displayName: 'Sign *.appx artifacts'
# inputs:
# script: AzureSignTool sign -du "$(SigningURL)" -kvu "$(SigningVaultURL)" -kvi "$(SigningClientId)" -kvs "$(SigningClientSecret)" -kvc "$(SigningCertName)" -v "$(System.ArtifactsDirectory)\\*"
#
#- task: PublishPipelinArtifact@1
# inputs:
# pathToPublish: '$(System.DefaultWorkingDirectory)/dist/Bitwarden-$(GIT_RELEASE_VERSION)-ia32.appx'
# artifactName: 'Bitwarden-$(GIT_RELEASE_VERSION)-ia32.appx'
#
#- task: PublishPipelinArtifact@1
# inputs:
# pathToPublish: '$(System.DefaultWorkingDirectory)/dist/Bitwarden-$(GIT_RELEASE_VERSION)-x64.appx'
# artifactName: 'Bitwarden-$(GIT_RELEASE_VERSION)-x64.appx'
- task: CmdLine@2
displayName: 'Sign *.appx artifacts'
inputs:
script: |
AzureSignTool sign -du "$(SigningURL)" -kvu "$(SigningVaultURL)" -kvi "$(SigningClientId)" -kvs "$(SigningClientSecret)" -kvc "$(SigningCertName)" -v "$(System.ArtifactsDirectory)\\Bitwarden-$(git_release_version)-ia32.appx"
AzureSignTool sign -du "$(SigningURL)" -kvu "$(SigningVaultURL)" -kvi "$(SigningClientId)" -kvs "$(SigningClientSecret)" -kvc "$(SigningCertName)" -v "$(System.ArtifactsDirectory)\\Bitwarden-$(git_release_version)-x64.appx"
- task: PublishPipelinArtifact@1
inputs:
pathToPublish: '$(System.DefaultWorkingDirectory)/dist/Bitwarden-$(git_release_version)-ia32.appx'
artifactName: 'Bitwarden-$(git_release_version)-ia32.appx'
- task: PublishPipelinArtifact@1
inputs:
pathToPublish: '$(System.DefaultWorkingDirectory)/dist/Bitwarden-$(git_release_version)-x64.appx'
artifactName: 'Bitwarden-$(git_release_version)-x64.appx'