diff --git a/build/SharedFx.props b/build/SharedFx.props
index 426654379e..4b9509a288 100644
--- a/build/SharedFx.props
+++ b/build/SharedFx.props
@@ -39,16 +39,31 @@
dotnet-runtime
$(DotnetRuntimePackageName)-$(MicrosoftNETCoreApp21PackageVersion)
+ 2.1
+ $(MicrosoftNETCoreApp21PackageVersion.Split('-')[0])
+ $(DotnetRuntimePackageName)-$(MicrosoftNETCoreApp21IdVersion)
$(DotNetAssetRootUrl)Runtime/$(MicrosoftNETCoreApp21PackageVersion)/$(DotnetRuntimeInstallerPrefix)
$(_SharedFxSourceDir)$(SharedFxIntermediateArchiveBaseName)-$(PackageVersion)
+
+
+ $(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion)
+ $(InstallerIdVersion).$(AspNetCorePatchVersion)
+
+ $(InstallerPackageVersion)
+ $(DebInstallerPackageVersion)~$(PackageVersionSuffix)
+ 1
+
+ $(PackageRevision)
+ 0.1.$(PackageVersionSuffix)
+ $([System.String]::Copy('$(RpmPackageRevision)').Replace('-', '_'))
+
Microsoft
nugetaspnet@microsoft.com
https://www.asp.net/
/usr/share/dotnet
- 1
Apache-2.0
Microsoft ASP.NET Core $(PackageVersion) Shared Framework
Shared Framework for hosting of Microsoft ASP.NET Core applications. It is open source, cross-platform and is supported by Microsoft. We hope you enjoy using it! If you do, please consider joining the active community of developers that are contributing to the project on GitHub (https://github.com/aspnet/home). We happily accept issues and PRs.
diff --git a/build/SharedFxInstaller.targets b/build/SharedFxInstaller.targets
index f65716b19a..edd3b61bac 100644
--- a/build/SharedFxInstaller.targets
+++ b/build/SharedFxInstaller.targets
@@ -101,14 +101,18 @@
DATE=$([System.DateTime]::UtcNow.ToString(ddd MMM dd yyyy))
$(ChangeLogProps);MAINTAINER_NAME=$(RpmMaintainerName)
$(ChangeLogProps);MAINTAINER_EMAIL=$(RpmMaintainerEmail)
- $(ChangeLogProps);PACKAGE_VERSION=$(RpmVersion)
+ $(ChangeLogProps);PACKAGE_VERSION=$(RpmPackageVersion)
$(ChangeLogProps);PACKAGE_REVISION=$(RpmRevision)
-
+ $(_DockerRootDir).w/package_root/="$(RpmInstallRoot)/""
+ MaxRetries="5"/>
@@ -143,32 +148,46 @@
-
+
+
+ @(RpmNonUpgradeableSharedFxDependencies->' -d "%(Identity) >= %(Version)"', ' ')
@(RpmSharedFxDependencies->' -d "%(Identity) >= %(Version)"', ' ')
+ $(RpmNonUpgradeableSharedFxArguments) @(RpmRHSharedFxDirectories->' --directories "%(FullPath)"', ' ')
+ $(RpmNonUpgradeableSharedFxArguments) @(RpmGenericSharedFxDirectories->' --directories "%(FullPath)"', ' ')
$(RpmSharedFxArguments) @(RpmRHSharedFxDirectories->' --directories "%(FullPath)"', ' ')
$(RpmSharedFxArguments) @(RpmGenericSharedFxDirectories->' --directories "%(FullPath)"', ' ')
- Image=$(Image);RpmVendor=$(RpmVendor);RpmVersion=$(PackageVersion)
- $(RpmCommonArguments);RpmMaintainerName=$(MaintainerName);RpmMaintainerEmail=$(MaintainerEmail)
- $(RpmCommonArguments);RpmHomepage=$(Homepage);RpmRevision=$(PackageRevision)
- $(RpmCommonArguments);RpmLicense=$(LicenseType)
- $(RpmCommonArguments);RpmInstallerPrefix=$(SharedFxInstallerName);SharedFxArchive=$(SharedFxIntermediateArchiveFilePrefix)-linux-x64.tar.gz
- $(RpmCommonArguments);RpmMSummary=$(SharedFxSummary);RpmDescription=$(SharedFxDescription)
- RpmFileSuffix=x64.rpm;RpmInstallRoot=$(InstallRoot)
- RpmFileSuffix=rh.rhel.7-x64.rpm;RpmInstallRoot=$(RHInstallRoot)
+ Image=$(Image);RpmVendor=$(RpmVendor);RpmName=$(SharedFxInstallerName)
+ $(RpmCommonProps);RpmMaintainerName=$(MaintainerName);RpmMaintainerEmail=$(MaintainerEmail)
+ $(RpmCommonProps);RpmHomepage=$(Homepage);RpmRevision=$(RpmPackageRevision)
+ $(RpmCommonProps);RpmLicense=$(LicenseType)
+ $(RpmCommonProps);SharedFxArchive=$(SharedFxIntermediateArchiveFilePrefix)-linux-x64.tar.gz
+ $(RpmCommonProps);RpmMSummary=$(SharedFxSummary);RpmDescription=$(SharedFxDescription)
+ RpmInstallRoot=$(InstallRoot)
+ RpmInstallRoot=$(RHInstallRoot)
+ RpmIdVersion=$(PackageVersion);RpmPackageVersion=$(PackageVersion);RpmFileVersion=$(PackageVersion)
+ RpmIdVersion=$(InstallerIdVersion);RpmPackageVersion=$(InstallerPackageVersion);RpmFileVersion=$(PackageVersion);RpmUpgradeableSuffix=-upgradeable
- $(RpmCommonArguments);$(RpmCommonGenericArguments);RpmArguments=$(RpmGenericSharedFxArguments)
- $(RpmCommonArguments);$(RpmCommonRHArguments);RpmArguments=$(RpmRHSharedFxArguments)
+ $(RpmCommonProps);$(RpmGenericProps);$(RpmNonUpgradeableProps);RpmArguments=$(RpmNonUpgradeableGenericSharedFxArguments);RpmFileSuffix=x64.rpm
+ $(RpmCommonProps);$(RpmRHProps);$(RpmNonUpgradeableProps);RpmArguments=$(RpmNonUpgradeableRHSharedFxArguments);RpmFileSuffix=rh.rhel.7-x64.rpm
+ $(RpmCommonProps);$(RpmGenericProps);$(RpmProps);RpmArguments=$(RpmGenericSharedFxArguments);RpmFileSuffix=x64-upgrade.rpm
+ $(RpmCommonProps);$(RpmRHProps);$(RpmProps);RpmArguments=$(RpmRHSharedFxArguments);RpmFileSuffix=rh.rhel.7-x64-upgrade.rpm
+
+
+
+
+
+
@@ -217,8 +236,8 @@
--rm
-v $(RepositoryRoot):$(_DockerRootDir)
-e DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
- -e INSTALLER_NAME=$(DebPrefix)-$(DebVersion)
- -e INSTALLER_VERSION=$(DebVersion)
+ -e INSTALLER_NAME=$(DebPrefix)-$(DebIdVersion)
+ -e INSTALLER_VERSION=$(DebPackageVersion)
docker-image-$(Image)
./build.sh /t:RunDebTool"
ContinueOnError="WarnAndContinue" />
@@ -231,36 +250,46 @@
-
-
-
+
+
+ $(MicrosoftNETCoreApp21PackageVersion)
+
+ $(NETCoreApp21DebVersion.Substring(0, $(NETCoreApp21DebVersion.IndexOf('-'))))~$(NETCoreApp21DebVersion.Substring($([MSBuild]::Add($(NETCoreApp21DebVersion.IndexOf('-')), 1))))
+
- <_DebSharedFxDependencies Include="$(DotnetRuntimeInstallerPrefix)"/>
+ <_DebNonUpgradeableSharedFxDependencies Include="$(DotnetRuntimeInstallerPrefix)"/>
+ <_DebSharedFxDependencies Include="$(DotnetRuntimeUpgradeableInstallerPrefix)" Version="$(NETCoreApp21DebVersion)"/>
- @(_DebSharedFxDependencies->'"%(Identity)": {}', ', ')
+ ubuntu.14.04
- Image=$(Image);DebVersion=$(PackageVersion)
- DebPrefix=$(SharedFxInstallerName);DebSummary=$(SharedFxSummary);DebDescription=$(SharedFxDescription)
- $(DebSharedFxProps);DebDependencies=$(DebSharedFxDependencies);SharedFxArchive=$(SharedFxIntermediateArchiveFilePrefix)-linux-x64.tar.gz
+ @(_DebNonUpgradeableSharedFxDependencies->'"%(Identity)": { }', ', ')
+ @(_DebSharedFxDependencies->'"%(Identity)": { "package_version": "%(Version)" }', ', ')
+
+ Image=$(Image);DebPrefix=$(SharedFxInstallerName)
+ $(DebCommonProps);DebSummary=$(SharedFxSummary);DebDescription=$(SharedFxDescription)
+ $(DebCommonProps);SharedFxArchive=$(SharedFxIntermediateArchiveFilePrefix)-linux-x64.tar.gz
+
+ DebIdVersion=$(PackageVersion);DebPackageVersion=$(PackageVersion);DebFileVersion=$(PackageVersion);DebDependencies=$(DebNonUpgradeableSharedFxDependencies)
+ DebIdVersion=$(InstallerIdVersion);DebPackageVersion=$(DebInstallerPackageVersion);DebFileVersion=$(PackageVersion);DebDependencies=$(DebSharedFxDependencies);DebUpgradeSuffix=-upgrade
-
+
+
+
+
+
-
-
-
-
diff --git a/build/repo.props b/build/repo.props
index eab83a9e31..296beb9480 100644
--- a/build/repo.props
+++ b/build/repo.props
@@ -36,6 +36,9 @@
+
+
+
diff --git a/version.props b/version.props
index ed17da3f3f..564474e129 100644
--- a/version.props
+++ b/version.props
@@ -1,22 +1,26 @@
- 2.2.0
- preview1
+ 2
+ 2
+ 0
+ $(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).$(AspNetCorePatchVersion)
+ preview1
0.2.0
alpha1
+ $(PrereleaseVersionLabel)
+ $(PackageVersionSuffix)-$(BuildNumber)
+ $(PrereleaseVersionLabel)-final
+
- $(VersionPrefix)
- $(VersionPrefix)-$(VersionSuffix)-final
-
- $(VersionSuffix)-$(BuildNumber)
-
- $(VersionPrefix)
- $(VersionPrefix)-$(VersionSuffix)
+ $(VersionPrefix)
+ $(VersionPrefix)-$(PackageVersionSuffix)
pb-$(DotNetProductBuildId)
+ $(PrereleaseVersionLabel)
+ $(VersionSuffix)-$(BuildNumber)
$(VersionSuffix)+$(VersionMetadata)
$(ExperimentalVersionPrefix)