Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 3d468f1

Browse files
committed
Simplify versioning update for CoreCLR
1 parent f326b9d commit 3d468f1

File tree

37 files changed

+13
-39
lines changed

37 files changed

+13
-39
lines changed

dir.props

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,17 @@
153153

154154
<!-- PreReleaseSuffix for TFS win8-arm CoreCLR package -->
155155
<ExternalExpectedPrerelease>servicing-24618-00</ExternalExpectedPrerelease>
156-
156+
157+
<!-- Central place to set the versions of all nuget packages produced in the repo -->
158+
<Version Condition="'$(MSBuildProjectExtension)' == '.pkgproj' and '$(Version)' == ''">1.0.5</Version>
159+
<WindowsAPISetPackageVersion>1.0.1</WindowsAPISetPackageVersion>
160+
<Win8ArmPackageVersion>$(Version)-$(ExternalExpectedPrerelease)</Win8ArmPackageVersion>
161+
162+
<!-- Set the boolean below to true to generate packages with stabilized versions -->
163+
<StabilizePackageVersion Condition="'$(StabilizePackageVersion)' == ''">false</StabilizePackageVersion>
164+
<StableVersion Condition="'$(MSBuildProjectExtension)' == '.pkgproj' and '$(StabilizePackageVersion)' == 'true' and '$(StableVersion)' == ''">$(Version)</StableVersion>
165+
<Win8ArmPackageVersion Condition="'$(StabilizePackageVersion)' == 'true'">$(StableVersion)</Win8ArmPackageVersion>
166+
157167
<!-- On Windows, MSbuild still runs against Desktop FX while it runs on .NET Core on non-Windows. this requires
158168
pulling in different packaging dependencies.
159169
-->

src/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.pkgproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
44

55
<PropertyGroup>
6-
<Version>1.0.5</Version>
76
<SkipPackageFileCheck>true</SkipPackageFileCheck>
87
<SkipValidatePackage>true</SkipValidatePackage>
98
<PackagePlatforms>x64;x86;arm</PackagePlatforms>

src/.nuget/Microsoft.NETCore.ILAsm/debian/Microsoft.NETCore.ILAsm.pkgproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
44

55
<PropertyGroup>
6-
<Version>1.0.5</Version>
76
<SkipPackageFileCheck>true</SkipPackageFileCheck>
87
<PackageTargetRuntime>debian.8-$(PackagePlatform)</PackageTargetRuntime>
98
<!-- only build for x64 -->

src/.nuget/Microsoft.NETCore.ILAsm/fedora/23/Microsoft.NETCore.ILAsm.pkgproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
44

55
<PropertyGroup>
6-
<Version>1.0.5</Version>
76
<SkipPackageFileCheck>true</SkipPackageFileCheck>
87
<PackageTargetRuntime>fedora.23-$(PackagePlatform)</PackageTargetRuntime>
98
<!-- only build for x64 -->

src/.nuget/Microsoft.NETCore.ILAsm/opensuse/13.2/Microsoft.NETCore.ILAsm.pkgproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
44

55
<PropertyGroup>
6-
<Version>1.0.5</Version>
76
<SkipPackageFileCheck>true</SkipPackageFileCheck>
87
<PackageTargetRuntime>opensuse.13.2-$(PackagePlatform)</PackageTargetRuntime>
98
<!-- only build for x64 -->

src/.nuget/Microsoft.NETCore.ILAsm/osx/Microsoft.NETCore.ILAsm.pkgproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
44

55
<PropertyGroup>
6-
<Version>1.0.5</Version>
76
<SkipPackageFileCheck>true</SkipPackageFileCheck>
87
<PackageTargetRuntime>osx.10.10-$(PackagePlatform)</PackageTargetRuntime>
98
<!-- only build for x64 -->

src/.nuget/Microsoft.NETCore.ILAsm/rhel/Microsoft.NETCore.ILAsm.pkgproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
44

55
<PropertyGroup>
6-
<Version>1.0.5</Version>
76
<SkipPackageFileCheck>true</SkipPackageFileCheck>
87
<PackageTargetRuntime>rhel.7-$(PackagePlatform)</PackageTargetRuntime>
98
<!-- only build for x64 -->

src/.nuget/Microsoft.NETCore.ILAsm/ubuntu/14.04/Microsoft.NETCore.ILAsm.pkgproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
44

55
<PropertyGroup>
6-
<Version>1.0.5</Version>
76
<SkipPackageFileCheck>true</SkipPackageFileCheck>
87
<PackageTargetRuntime>ubuntu.14.04-$(PackagePlatform)</PackageTargetRuntime>
98
<!-- only build for x64 -->

src/.nuget/Microsoft.NETCore.ILAsm/ubuntu/16.04/Microsoft.NETCore.ILAsm.pkgproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
44

55
<PropertyGroup>
6-
<Version>1.0.5</Version>
76
<SkipPackageFileCheck>true</SkipPackageFileCheck>
87
<PackageTargetRuntime>ubuntu.16.04-$(PackagePlatform)</PackageTargetRuntime>
98
<!-- only build for x64 -->

src/.nuget/Microsoft.NETCore.ILAsm/win/Microsoft.NETCore.ILAsm.pkgproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
44

55
<PropertyGroup>
6-
<Version>1.0.5</Version>
76
<SkipPackageFileCheck>true</SkipPackageFileCheck>
87
<MinOSForArch>win7</MinOSForArch>
98
<MinOSForArch Condition="$(PackagePlatform.StartsWith('arm'))">win8</MinOSForArch>

0 commit comments

Comments
 (0)