From d45ad75404e75d2d4fbf3cc0d01d4a01cda1dabb Mon Sep 17 00:00:00 2001 From: Zach Hilman Date: Sat, 5 Oct 2019 00:09:11 -0400 Subject: ci: Add version counter variable --- .ci/yuzu-mainline-step2.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.ci/yuzu-mainline-step2.yml') diff --git a/.ci/yuzu-mainline-step2.yml b/.ci/yuzu-mainline-step2.yml index 0c1af397b..a098f0a4e 100644 --- a/.ci/yuzu-mainline-step2.yml +++ b/.ci/yuzu-mainline-step2.yml @@ -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: -- cgit v1.2.3