ci: Add version counter variable

This commit is contained in:
Zach Hilman 2019-10-05 00:09:11 -04:00
parent 753100d26e
commit 23f9b9f578
10 changed files with 26 additions and 7 deletions

View file

@ -1,6 +1,9 @@
trigger:
- master
variables:
DisplayVersion: $[counter(variables['DisplayPrefix'], 1)]
stages:
- stage: format
displayName: 'format'
@ -34,6 +37,7 @@ stages:
parameters:
artifactSource: 'false'
cache: 'true'
version: $(DisplayVersion)
- stage: build_win
dependsOn: format
displayName: 'build-windows'
@ -51,6 +55,7 @@ stages:
parameters:
artifactSource: 'false'
cache: 'true'
version: $(DisplayVersion)
- stage: release
displayName: 'Release'
dependsOn: