[Build] Update version target (#6270)
authorRui Marinho <me@ruimarinho.net>
Thu, 23 May 2019 00:04:53 +0000 (01:04 +0100)
committerGitHub <noreply@github.com>
Thu, 23 May 2019 00:04:53 +0000 (01:04 +0100)
Version.targets

index 34b19d1..763a279 100644 (file)
@@ -27,7 +27,7 @@
       <VersionMetadataPlusLabel Condition="'$(VersionMetadataLabel)' != ''">+$(VersionMetadataLabel)</VersionMetadataPlusLabel>
 
       <GitSemVerDashLabel Condition="'$(GitSemVerDashLabel)' != '' and '$(GitCommits)' != '0'">$(GitSemVerDashLabel).$(GitCommits)</GitSemVerDashLabel>
-      <Version>$(GitSemVerMajor).$(GitSemVerMinor).$(GitSemVerPatch)</Version>
+      <Version>$(GitBaseVersionMajor).$(GitBaseVersionMinor).$(GitBaseVersionPatch)</Version>
       <PackageVersion>$(Version)$(GitSemVerDashLabel)$(VersionMetadataPlusLabel)</PackageVersion>
     </PropertyGroup>