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

Commit cf22a86

Browse files
authored
Set build Version try 9 (#897)
* Adding daily build yml file * Setting commit SHA to be 7 digits * Setting build version * Setting Build version * Fixing typo * Setting build version disable pr trigger * Set build version try 7 * Set build version try 9
1 parent aee132f commit cf22a86

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

build/botframework-cli-daily.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,16 @@ jobs:
2424
steps:
2525
- bash: |
2626
short_hash=`git rev-parse --short=7 HEAD` ## At least 7 digits, more if needed for uniqueness
27-
buildVersion= "4.10.0-dev.${short_hash}"
2827
echo "Full git hash: $(Build.SourceVersion)"
2928
echo "Short git hash: $short_hash"
30-
echo "##vso[task.setvariable variable=buildVersion]$buildVersion" ## Store variable for subsequent steps
29+
echo "##vso[task.setvariable variable=buildVersion]$short_hash" ## Store variable for subsequent steps
3130
workingDirectory: $(Build.SourcesDirectory)
3231
displayName: Set Build Version
3332
3433
- task: colinsalmcorner.colinsalmcorner-buildtasks.tag-build-task.tagBuildOrRelease@0
3534
displayName: 'Tag Build with version number'
3635
inputs:
37-
tags: 'Version=$(buildVersion)'
36+
tags: 'Version=4.10.0-dev.$(short_hash)'
3837
continueOnError: true
3938

4039
- task: NodeTool@0
@@ -58,7 +57,7 @@ jobs:
5857
- script: 'rush test'
5958
displayName: 'rush test'
6059

61-
- script: 'node ./common/scripts/version-and-pack.js --version $(buildVersion)'
60+
- script: 'node ./common/scripts/version-and-pack.js --version 4.10.0-dev.$(short_hash)'
6261
displayName: 'Version and Pack'
6362

6463
- task: CopyFiles@2

0 commit comments

Comments
 (0)