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

Commit de55dc1

Browse files
authored
Set Build Version try 6 (#895)
* 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
1 parent 76b5246 commit de55dc1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build/botframework-cli-daily.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ name: $(Build.BuildId)
88
pool:
99
name: Hosted Windows 2019 with VS2019
1010

11+
pr: none
12+
trigger: none
13+
1114
schedules:
1215
- cron: "0 7 * * *"
1316
displayName: Daily midnight build (UTC Time)
@@ -21,7 +24,7 @@ jobs:
2124
steps:
2225
- bash: |
2326
short_hash=`git rev-parse --short=7 HEAD` ## At least 7 digits, more if needed for uniqueness
24-
buildVersion= '4.10.0-dev.$(shortSHA)'
27+
buildVersion= '4.10.0-dev.$short_hash'
2528
echo "Full git hash: $(Build.SourceVersion)"
2629
echo "Short git hash: $short_hash"
2730
echo "##vso[task.setvariable variable=buildVersion]$buildVersion" ## Store variable for subsequent steps

0 commit comments

Comments
 (0)