Skip to content

Commit 8c745a0

Browse files
author
Ricky Kaare Engelharth
committed
Add build number
1 parent 715e2bc commit 8c745a0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

azure-pipeline.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ trigger:
44
pool:
55
vmImage: 'windows-2019'
66

7+
name: 1.0.$(Build.BuildId)
8+
79
variables:
810
solution: '*.sln'
911
buildPlatform: 'Any CPU'
@@ -21,6 +23,12 @@ steps:
2123
command: 'restore'
2224
restoreSolution: '$(solution)'
2325

26+
- task: VsixToolsUpdateVersion@2
27+
displayName: 'Set Vsix Version'
28+
inputs:
29+
FileName: src/Atc.AutoFormatter/source.extension.vsixmanifest
30+
VersionNumber: '$(build.buildnumber)'
31+
2432
- task: VSBuild@1
2533
displayName: 'Build solution'
2634
inputs:

0 commit comments

Comments
 (0)