Skip to content

Commit

Permalink
Use hackfix to match stable build number
Browse files Browse the repository at this point in the history
  • Loading branch information
coloursofnoise committed Nov 10, 2021
1 parent ba2b4c1 commit 90006e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion azure-pipelines-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ steps:

# Define build_number variable and zip build artifacts
- script: |
declare -i BUILD_NUMBER=$(RESOURCES_PIPELINE_build_RUNID)+$(Build.BuildIdOffset)
# TODO: -1 hackfix to match triggering build, should be replaced with actual reference
declare -i BUILD_NUMBER=$(Build.BuildId)+$(Build.BuildIdOffset)-1
echo "##vso[task.setvariable variable=build_number]$BUILD_NUMBER"
zip -9r $(Build.ArtifactStagingDirectory)/main.zip $(Build.ArtifactStagingDirectory)/main/
Expand Down

0 comments on commit 90006e7

Please sign in to comment.