Skip to content

Commit 72b3b03

Browse files
committed
Update Azure Pipelines to set custom build number with GitVersion
1 parent 6f0ce5e commit 72b3b03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ steps:
4040
Write-Host "GitVersion Version: $version, SemVer: $semVer"
4141
Write-Host "##vso[task.setvariable variable=Version]$version"
4242
Write-Host "##vso[task.setvariable variable=TagName]v$semVer"
43+
Write-Host "##vso[build.updatebuildnumber]DotnetPackaging-$version"
4344
displayName: 'Compute version with GitVersion'
4445
4546
# Restore, build and pack using GitVersioned $(Version)

0 commit comments

Comments
 (0)