Skip to content

Commit b2a2aaa

Browse files
JinhuafeiHongGit
authored andcommitted
update nupkg version evaulation logic in msbuild (#44)
1 parent dfd75b3 commit b2a2aaa

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

tools/RoslynCodeProvider.settings.targets

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
<VersionMajor>1</VersionMajor>
99
<VersionMinor>1</VersionMinor>
1010
<VersionRelease>0</VersionRelease>
11-
<VersionRelease Condition="'$(BuildQuality)' != 'rtm'">$(VersionRelease)-$(BuildQuality)</VersionRelease>
1211
</PropertyGroup>
1312

1413
<PropertyGroup Label="NuGet package dependencies">

tools/version.targets

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Project global versioning targets.
3636

3737
<PropertyGroup>
3838
<NuGetPackageVersion Condition="'$(NuGetPackageVersion)' == ''">$(VersionMajor).$(VersionMinor).$(VersionRelease)</NuGetPackageVersion>
39+
<NuGetPackageVersion Condition="'$(BuildQuality)' != 'rtm'">$(NuGetPackageVersion)-$(BuildQuality)</NuGetPackageVersion>
3940
</PropertyGroup>
4041

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

0 commit comments

Comments
 (0)