Skip to content

Commit

Permalink
[Build] Fix Version for branches with dashes
Browse files Browse the repository at this point in the history
  • Loading branch information
rmarinho committed May 22, 2019
1 parent 043d5b0 commit 9d9271d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Version.targets
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
<VersionMetadataPlusLabel Condition="'$(VersionMetadataLabel)' != ''">+$(VersionMetadataLabel)</VersionMetadataPlusLabel>

<GitSemVerDashLabel Condition="'$(GitSemVerDashLabel)' != '' and '$(GitCommits)' != '0'">$(GitSemVerDashLabel).$(GitCommits)</GitSemVerDashLabel>
<PackageVersion>$(GitBaseVersion)$(GitSemVerDashLabel)$(VersionMetadataPlusLabel)</PackageVersion>
<Version>$(GitBaseVersion)</Version>
<Version>$(GitSemVerMajor).$(GitSemVerMinor).$(GitSemVerPatch)</Version>
<PackageVersion>$(Version)$(GitSemVerDashLabel)$(VersionMetadataPlusLabel)</PackageVersion>
</PropertyGroup>

<PropertyGroup>
Expand Down

0 comments on commit 9d9271d

Please sign in to comment.