mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-30 13:03:53 +01:00
adding git commit option
This commit is contained in:
parent
926d221e6a
commit
99e2b83d62
@ -9,11 +9,16 @@ trigger:
|
|||||||
pool:
|
pool:
|
||||||
vmImage: 'windows-latest'
|
vmImage: 'windows-latest'
|
||||||
|
|
||||||
|
variables:
|
||||||
|
- group: qa-envs
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: NodeTool@0
|
- task: NodeTool@0
|
||||||
inputs:
|
inputs:
|
||||||
versionSpec: '10.x'
|
versionSpec: '10.x'
|
||||||
displayName: 'Install Node.js'
|
displayName: 'Install Node.js'
|
||||||
|
|
||||||
|
- checkout: $(GIT_COMMIT_TO_BUILD)
|
||||||
|
|
||||||
- script: npm install
|
- script: npm install
|
||||||
displayName: 'npm install'
|
displayName: 'npm install'
|
||||||
@ -31,10 +36,10 @@ steps:
|
|||||||
|
|
||||||
- task: PublishBuildArtifacts@1
|
- task: PublishBuildArtifacts@1
|
||||||
inputs:
|
inputs:
|
||||||
pathToPublish: '$(Build.ArtifactStagingDirectory)/dist/Bitwarden-1.23.1-ia32.appx'
|
pathToPublish: 'dist/Bitwarden-1.23.1-ia32.appx'
|
||||||
artifactName: Bitwarden-1.23.1-ia32.appx
|
artifactName: Bitwarden-$(GIT_COMMIT_TO_BUILD)-ia32.appx
|
||||||
|
|
||||||
- task: PublishBuildArtifacts@1
|
- task: PublishBuildArtifacts@1
|
||||||
inputs:
|
inputs:
|
||||||
pathToPublish: '$(Build.ArtifactStagingDirectory)/dist/Bitwarden-1.23.1-x64.appx'
|
pathToPublish: 'dist/Bitwarden-1.23.1-x64.appx'
|
||||||
artifactName: Bitwarden-1.23.1-x64.appx
|
artifactName: Bitwarden-$(GIT_COMMIT_TO_BUILD)-x64.appx
|
||||||
|
Loading…
Reference in New Issue
Block a user