Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
5 changes: 4 additions & 1 deletion build/botframework-cli-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ name: $(Build.BuildId)
pool:
name: Hosted Windows 2019 with VS2019

pr: none
trigger: none

schedules:
- cron: "0 7 * * *"
displayName: Daily midnight build (UTC Time)
Expand All @@ -21,7 +24,7 @@ jobs:
steps:
- bash: |
short_hash=`git rev-parse --short=7 HEAD` ## At least 7 digits, more if needed for uniqueness
buildVersion= '4.10.0-dev.$(shortSHA)'
buildVersion= '4.10.0-dev.$short_hash'
echo "Full git hash: $(Build.SourceVersion)"
echo "Short git hash: $short_hash"
echo "##vso[task.setvariable variable=buildVersion]$buildVersion" ## Store variable for subsequent steps
Expand Down