diff --git a/.az-pipelines/sign-windows-artifacts.yml b/.az-pipelines/sign-windows-artifacts.yml index 53cce6bc..b9ec7752 100644 --- a/.az-pipelines/sign-windows-artifacts.yml +++ b/.az-pipelines/sign-windows-artifacts.yml @@ -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'