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

Commit 5e3f5ce

Browse files
committed
Update botframework-cli-daily.yml for Azure Pipelines
1 parent 053abfc commit 5e3f5ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build/botframework-cli-daily.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ jobs:
2626
short_hash=`git rev-parse --short=7 HEAD` ## At least 7 digits, more if needed for uniqueness
2727
echo "Full git hash: $(Build.SourceVersion)"
2828
echo "Short git hash: $short_hash"
29-
echo "##vso[task.setvariable variable=buildVersion]$short_hash" ## Store variable for subsequent steps
29+
echo "##vso[task.setvariable variable=short_hash]$short_hash" ## Store variable for subsequent steps
3030
workingDirectory: $(Build.SourcesDirectory)
3131
displayName: Set Build Version
3232
3333
- task: colinsalmcorner.colinsalmcorner-buildtasks.tag-build-task.tagBuildOrRelease@0
3434
displayName: 'Tag Build with version number'
3535
inputs:
36-
tags: 'Version=4.10.0-dev.$(buildVersion)'
36+
tags: 'Version=4.10.0-dev.$(Date:yyyyMMdd).$(short_hash)'
3737
continueOnError: true
3838

3939
- task: NodeTool@0
@@ -57,7 +57,7 @@ jobs:
5757
- script: 'rush test'
5858
displayName: 'rush test'
5959

60-
- script: 'node ./common/scripts/version-and-pack.js --version 4.10.0-dev.$(buildVersion)'
60+
- script: 'node ./common/scripts/version-and-pack.js --version 4.10.0-dev.$(Date:yyyyMMdd).$(short_hash)'
6161
displayName: 'Version and Pack'
6262

6363
- task: CopyFiles@2

0 commit comments

Comments
 (0)