Skip to content

Commit

Permalink
update nupkg version evaulation logic in msbuild (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinhuafei authored and HongGit committed May 2, 2018
1 parent dfd75b3 commit b2a2aaa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion tools/RoslynCodeProvider.settings.targets
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<VersionMajor>1</VersionMajor>
<VersionMinor>1</VersionMinor>
<VersionRelease>0</VersionRelease>
<VersionRelease Condition="'$(BuildQuality)' != 'rtm'">$(VersionRelease)-$(BuildQuality)</VersionRelease>
</PropertyGroup>

<PropertyGroup Label="NuGet package dependencies">
Expand Down
1 change: 1 addition & 0 deletions tools/version.targets
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Project global versioning targets.

<PropertyGroup>
<NuGetPackageVersion Condition="'$(NuGetPackageVersion)' == ''">$(VersionMajor).$(VersionMinor).$(VersionRelease)</NuGetPackageVersion>
<NuGetPackageVersion Condition="'$(BuildQuality)' != 'rtm'">$(NuGetPackageVersion)-$(BuildQuality)</NuGetPackageVersion>
</PropertyGroup>

<ItemGroup Condition="'$(VersionFileGenerationEnabled)' == 'true'">
Expand Down

0 comments on commit b2a2aaa

Please sign in to comment.