From 99e2b83d62bd1e6149395945ab9d02da616e6ad9 Mon Sep 17 00:00:00 2001 From: Joseph Flinn Date: Mon, 14 Dec 2020 19:25:24 +0000 Subject: [PATCH] adding git commit option --- azure-pipelines.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 35f0835d87..1f8ebb0cb0 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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