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

Commit f7177c3

Browse files
committed
Update botframework-cli-daily.yml for Azure Pipelines
1 parent 2f177c7 commit f7177c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/botframework-cli-daily.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ schedules:
2020

2121
jobs:
2222
- job: CLI
23+
variables:
24+
buildDate: $(Get-Date -Format yyyyMMdd)
2325

2426
steps:
2527
- bash: |
2628
short_hash=`git rev-parse --short=7 HEAD` ## At least 7 digits, more if needed for uniqueness
2729
echo "Full git hash: $(Build.SourceVersion)"
2830
echo "Short git hash: $short_hash"
2931
echo "##vso[task.setvariable variable=short_hash]$short_hash" ## Store variable for subsequent steps
30-
dateStr = (Get-Date).ToString('yyyy-MM-dd')
31-
echo "##vso[task.setvariable variable=buildDate]dateStr"
3232
workingDirectory: $(Build.SourcesDirectory)
3333
displayName: Set Build Version
3434

0 commit comments

Comments
 (0)