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

Commit 749e0d4

Browse files
committed
Update botframework-cli-daily.yml for Azure Pipelines
1 parent f8ca47d commit 749e0d4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

build/botframework-cli-daily.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ schedules:
2020

2121
jobs:
2222
- job: CLI
23-
variables:
24-
buildDate: $(Get-Date -Format yyyyMMdd)
25-
23+
2624
steps:
2725
- bash: |
2826
short_hash=`git rev-parse --short=7 HEAD` ## At least 7 digits, more if needed for uniqueness
@@ -32,6 +30,10 @@ jobs:
3230
workingDirectory: $(Build.SourcesDirectory)
3331
displayName: Set Build Version
3432
33+
- powershell: |
34+
date = (Get-Date).ToString("yyyyMMdd")
35+
echo "##vso[task.setvariable variable=buildDate]$date" ## Store variable for subsequent steps
36+
3537
- task: colinsalmcorner.colinsalmcorner-buildtasks.tag-build-task.tagBuildOrRelease@0
3638
displayName: 'Tag Build with version number'
3739
inputs:

0 commit comments

Comments
 (0)