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

Commit 2434506

Browse files
authored
Setting Build Version try number 3 (#893)
* Adding daily build yml file * Setting commit SHA to be 7 digits * Setting build version * Setting Build version
1 parent 3a0a64d commit 2434506

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

build/botframework-cli-daily.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,14 @@ jobs:
1919
- job: CLI
2020

2121
steps:
22-
- script: |
22+
- bash: |
2323
short_hash=`git rev-parse --short=7 HEAD` ## At least 7 digits, more if needed for uniqueness
2424
buildVersion: '4.10.0-dev.$(shortSHA)'
25+
echo "Full git hash: $(Build.SourceVersion)"
26+
echo "Short git hash: $short_hash"
2527
echo "##vso[task.setvariable variable=buildVersion]$buildVersion" ## Store variable for subsequent steps
26-
displayName: 'Set Build Version'
28+
workingDirectory: $(Build.SourcesDirectory)
29+
displayName: Set Build Version
2730
2831
- task: colinsalmcorner.colinsalmcorner-buildtasks.tag-build-task.tagBuildOrRelease@0
2932
displayName: 'Tag Build with version number'

0 commit comments

Comments
 (0)