Set versionBuild automatically (#1803)

This commit is contained in:
Matt Cooley 2022-03-01 14:31:21 -08:00 committed by GitHub
parent 77b8698065
commit 39d24ab65a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ pr: none
variables: variables:
versionMajor: 11 versionMajor: 11
versionMinor: 2202 versionMinor: 2202
versionBuild: $[counter('11.2202.*', 0)] versionBuild: $[counter(format('{0}.{1}.*', variables['versionMajor'], variables['versionMinor']), 0)]
versionPatch: 0 versionPatch: 0
name: '$(versionMajor).$(versionMinor).$(versionBuild).$(versionPatch)' name: '$(versionMajor).$(versionMinor).$(versionBuild).$(versionPatch)'