adding git commit option

This commit is contained in:
Joseph Flinn 2020-12-14 19:25:24 +00:00
parent 926d221e6a
commit 99e2b83d62
1 changed files with 9 additions and 4 deletions

View File

@ -9,11 +9,16 @@ trigger:
pool:
vmImage: 'windows-latest'
variables:
- group: qa-envs
steps:
- task: NodeTool@0
inputs:
versionSpec: '10.x'
displayName: 'Install Node.js'
- checkout: $(GIT_COMMIT_TO_BUILD)
- script: npm install
displayName: 'npm install'
@ -31,10 +36,10 @@ steps:
- task: PublishBuildArtifacts@1
inputs:
pathToPublish: '$(Build.ArtifactStagingDirectory)/dist/Bitwarden-1.23.1-ia32.appx'
artifactName: Bitwarden-1.23.1-ia32.appx
pathToPublish: 'dist/Bitwarden-1.23.1-ia32.appx'
artifactName: Bitwarden-$(GIT_COMMIT_TO_BUILD)-ia32.appx
- task: PublishBuildArtifacts@1
inputs:
pathToPublish: '$(Build.ArtifactStagingDirectory)/dist/Bitwarden-1.23.1-x64.appx'
artifactName: Bitwarden-1.23.1-x64.appx
pathToPublish: 'dist/Bitwarden-1.23.1-x64.appx'
artifactName: Bitwarden-$(GIT_COMMIT_TO_BUILD)-x64.appx