This repository was archived by the owner on Jan 15, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -27,13 +27,14 @@ jobs:
2727 echo "Full git hash: $(Build.SourceVersion)"
2828 echo "Short git hash: $short_hash"
2929 echo "##vso[task.setvariable variable=short_hash]$short_hash" ## Store variable for subsequent steps
30+ echo "##vso[task.setvariable variable=buildDate]$(Date:yyyyMMdd)" ## Store variable for subsequent steps
3031 workingDirectory: $(Build.SourcesDirectory)
3132 displayName: Set Build Version
3233
3334 - task : colinsalmcorner.colinsalmcorner-buildtasks.tag-build-task.tagBuildOrRelease@0
3435 displayName : ' Tag Build with version number'
3536 inputs :
36- tags : ' Version=4.10.0-dev.$(Date:MMddyy ).$(short_hash)'
37+ tags : ' Version=4.10.0-dev.$(buildDate ).$(short_hash)'
3738 continueOnError : true
3839
3940 - task : NodeTool@0
5758# - script: 'rush test'
5859# displayName: 'rush test'
5960
60- - script : ' node ./common/scripts/version-and-pack.js --version 4.10.0-dev.$(Date:MMddyy ).$(short_hash)'
61+ - script : ' node ./common/scripts/version-and-pack.js --version 4.10.0-dev.$(buildDate ).$(short_hash)'
6162 displayName : ' Version and Pack'
6263
6364 - task : CopyFiles@2
You can’t perform that action at this time.
0 commit comments