Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit e15e769

Browse files
committed
reuse existing $PackageVersion
1 parent 192e23c commit e15e769

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

build/build-pcl.proj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
<Configuration Condition="$(Configuration) == ''">Release</Configuration>
1616
<NuGetPath>$(BuildSolutionDir)/src/.nuget/nuget.exe</NuGetPath>
1717
<NuGetPackageDir>$(BuildSolutionDir)/NuGet.Pcl/</NuGetPackageDir>
18-
<NuGetVersion>$(MajorVersion).$(MinorVersion).$(PatchVersion)</NuGetVersion>
1918
<Version>$(MajorVersion).$(MinorVersion).$(PatchVersion).0</Version>
2019
<UnstableTag Condition="$(RELEASE) == ''">-unstable</UnstableTag>
2120
<PackageVersion>$(MajorVersion).$(MinorVersion).$(PatchVersion)$(UnstableTag)</PackageVersion>
@@ -80,7 +79,7 @@
8079
<!--Update Min Dependency Version -->
8180
<RegexTransform Include="$(NuGetPackageDir)/**/*.nuspec">
8281
<Find>version="4\.0[^"]*"</Find>
83-
<ReplaceWith>version="$(NuGetVersion)"</ReplaceWith>
82+
<ReplaceWith>version="$(PackageVersion)"</ReplaceWith>
8483
</RegexTransform>
8584

8685
</ItemGroup>

build/build-sn.proj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
<Configuration Condition="$(Configuration) == ''">Signed</Configuration>
1616
<NuGetPath>$(BuildSolutionDir)/src/.nuget/nuget.exe</NuGetPath>
1717
<NuGetPackageDir>$(BuildSolutionDir)/NuGet.Signed/</NuGetPackageDir>
18-
<NuGetVersion>$(MajorVersion).$(MinorVersion).$(PatchVersion)</NuGetVersion>
1918
<Version>$(MajorVersion).$(MinorVersion).$(PatchVersion).0</Version>
2019
<UnstableTag Condition="$(RELEASE) == ''">-unstable</UnstableTag>
2120
<PackageVersion>$(MajorVersion).$(MinorVersion).$(PatchVersion)$(UnstableTag)</PackageVersion>
@@ -77,7 +76,7 @@
7776
<!--Update Min Dependency Version -->
7877
<RegexTransform Include="$(NuGetPackageDir)/**/*.nuspec">
7978
<Find>version="4\.0[^"]*"</Find>
80-
<ReplaceWith>version="$(NuGetVersion)"</ReplaceWith>
79+
<ReplaceWith>version="$(PackageVersion)"</ReplaceWith>
8180
</RegexTransform>
8281
</ItemGroup>
8382

build/build.proj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
<Configuration Condition="$(Configuration) == ''">Release</Configuration>
1616
<NuGetPath>$(BuildSolutionDir)/src/.nuget/nuget.exe</NuGetPath>
1717
<NuGetPackageDir>$(BuildSolutionDir)/NuGet/</NuGetPackageDir>
18-
<NuGetVersion>$(MajorVersion).$(MinorVersion).$(PatchVersion)</NuGetVersion>
1918
<Version>$(MajorVersion).$(MinorVersion).$(PatchVersion).0</Version>
2019
<UnstableTag Condition="$(RELEASE) == ''">-unstable</UnstableTag>
2120
<PackageVersion>$(MajorVersion).$(MinorVersion).$(PatchVersion)$(UnstableTag)</PackageVersion>
@@ -79,7 +78,7 @@
7978
<!--Update Min Dependency Version -->
8079
<RegexTransform Include="$(NuGetPackageDir)/**/*.nuspec">
8180
<Find>version="4\.0[^"]*"</Find>
82-
<ReplaceWith>version="$(NuGetVersion)"</ReplaceWith>
81+
<ReplaceWith>version="$(PackageVersion)"</ReplaceWith>
8382
</RegexTransform>
8483
</ItemGroup>
8584

0 commit comments

Comments
 (0)