Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit d7acb0d

Browse files
committed
Update botframework-cli-daily.yml for Azure Pipelines
1 parent f67143c commit d7acb0d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build/botframework-cli-daily.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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
@@ -57,7 +58,7 @@ jobs:
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

0 commit comments

Comments
 (0)