Skip to content

Commit 6451c55

Browse files
Fix build version script
1 parent 2d0b9d3 commit 6451c55

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

azure-pipelines.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,10 @@ stages:
4747
- script: |
4848
echo "Setting BUILD_VERSION..."
4949
BUILD_VERSION=$(date +'%Y%m%d')-$(Build.SourceVersionShort)
50-
echo "##vso[task.setvariable variable=BUILD_VERSION]$BUILD_VERSION"
50+
echo "##vso[task.setvariable variable=BUILD_VERSION;isOutput=true]$BUILD_VERSION"
5151
echo "::add-mask::$BUILD_VERSION"
52-
displayName: "Set Secret Build Version"
52+
name: SetVersion
53+
displayName: "Set Secret Build Version"
5354
5455
- task: Docker@2
5556
displayName: Build Docker Image

0 commit comments

Comments
 (0)