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

Commit 02aab73

Browse files
committed
Simplify versioning of packages.
1 parent e15b926 commit 02aab73

File tree

62 files changed

+7
-61
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+7
-61
lines changed

dir.props

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,13 @@
152152

153153
<ProjectUrl>https://dot.net</ProjectUrl>
154154

155+
<!-- Central place to set the versions of all nuget packages produced in the repo -->
156+
<Version Condition="'$(MSBuildProjectExtension)' == '.pkgproj' and '$(Version)' == ''">1.1.0</Version>
157+
158+
<!-- Set the boolean below to true to generate packages with stabilized versions -->
159+
<StabilizePackageVersion Condition="'$(StabilizePackageVersion)' == ''">false</StabilizePackageVersion>
160+
<StableVersion Condition="'$(MSBuildProjectExtension)' == '.pkgproj' and '$(StabilizePackageVersion)' == 'true' and '$(StableVersion)' == ''">$(Version)</StableVersion>
161+
155162
<!-- On Windows, MSbuild still runs against Desktop FX while it runs on .NET Core on non-Windows. this requires
156163
pulling in different packaging dependencies.
157164
-->

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
44
<PropertyGroup>
5-
<Version>1.1.0</Version>
65
<SkipPackageFileCheck>true</SkipPackageFileCheck>
76
<SkipValidatePackage>true</SkipValidatePackage>
87
<PackagePlatforms>x64;x86;arm64;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
@@ -2,7 +2,6 @@
22
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
44
<PropertyGroup>
5-
<Version>1.1.0</Version>
65
<SkipPackageFileCheck>true</SkipPackageFileCheck>
76
<PackageTargetRuntime>debian.8-$(PackagePlatform)</PackageTargetRuntime>
87
<!-- 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
@@ -2,7 +2,6 @@
22
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
44
<PropertyGroup>
5-
<Version>1.1.0</Version>
65
<SkipPackageFileCheck>true</SkipPackageFileCheck>
76
<PackageTargetRuntime>fedora.23-$(PackagePlatform)</PackageTargetRuntime>
87
<!-- only build for x64 -->

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
44
<PropertyGroup>
5-
<Version>1.1.0</Version>
65
<SkipPackageFileCheck>true</SkipPackageFileCheck>
76
<PackageTargetRuntime>fedora.24-$(PackagePlatform)</PackageTargetRuntime>
87
<!-- 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
@@ -2,7 +2,6 @@
22
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
44
<PropertyGroup>
5-
<Version>1.1.0</Version>
65
<SkipPackageFileCheck>true</SkipPackageFileCheck>
76
<PackageTargetRuntime>opensuse.13.2-$(PackagePlatform)</PackageTargetRuntime>
87
<!-- only build for x64 -->

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
44
<PropertyGroup>
5-
<Version>1.1.0</Version>
65
<SkipPackageFileCheck>true</SkipPackageFileCheck>
76
<PackageTargetRuntime>opensuse.42.1-$(PackagePlatform)</PackageTargetRuntime>
87
<!-- 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
@@ -2,7 +2,6 @@
22
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
44
<PropertyGroup>
5-
<Version>1.1.0</Version>
65
<SkipPackageFileCheck>true</SkipPackageFileCheck>
76
<PackageTargetRuntime>osx.10.10-$(PackagePlatform)</PackageTargetRuntime>
87
<!-- 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
@@ -2,7 +2,6 @@
22
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
44
<PropertyGroup>
5-
<Version>1.1.0</Version>
65
<SkipPackageFileCheck>true</SkipPackageFileCheck>
76
<PackageTargetRuntime>rhel.7-$(PackagePlatform)</PackageTargetRuntime>
87
<!-- 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
@@ -2,7 +2,6 @@
22
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
44
<PropertyGroup>
5-
<Version>1.1.0</Version>
65
<SkipPackageFileCheck>true</SkipPackageFileCheck>
76
<PackageTargetRuntime>ubuntu.14.04-$(PackagePlatform)</PackageTargetRuntime>
87
<!-- only build for x64 -->

0 commit comments

Comments
 (0)