Update package metadata to include commit hash (#713)

This commit is contained in:
Nate McMaster 2018-03-21 17:42:18 -07:00 committed by GitHub
parent 8ee5007a5d
commit d61d723cba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 7 deletions

View File

@ -3,7 +3,7 @@
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
<PropertyGroup Label="Package Versions">
<InternalAspNetCoreSdkPackageVersion>2.1.0-preview2-15742</InternalAspNetCoreSdkPackageVersion>
<InternalAspNetCoreSdkPackageVersion>2.1.0-preview2-15746</InternalAspNetCoreSdkPackageVersion>
<MicrosoftAspNetCoreAllPackageVersion>2.1.0-preview2-30355</MicrosoftAspNetCoreAllPackageVersion>
<MicrosoftAspNetCoreAuthenticationCorePackageVersion>2.1.0-preview2-30355</MicrosoftAspNetCoreAuthenticationCorePackageVersion>
<MicrosoftAspNetCoreHostingAbstractionsPackageVersion>2.1.0-preview2-30355</MicrosoftAspNetCoreHostingAbstractionsPackageVersion>
@ -44,4 +44,4 @@
<XunitRunnerVisualStudioPackageVersion>2.4.0-beta.1.build3945</XunitRunnerVisualStudioPackageVersion>
</PropertyGroup>
<Import Project="$(DotNetPackageVersionPropsPath)" Condition=" '$(DotNetPackageVersionPropsPath)' != '' " />
</Project>
</Project>

View File

@ -1,2 +1,2 @@
version:2.1.0-preview2-15742
commithash:21fbb0f2c3fe4a9216e2d59632b98cfd7d685962
version:2.1.0-preview2-15746
commithash:d5f868ce395d404711be71181179fcf63643641e

View File

@ -33,12 +33,16 @@
tfmGroup=$(TargetFrameworkIdentifier)$(_TargetFrameworkVersionWithoutV);
configuration=$(Configuration);
copyright=$(Copyright);
author=$(Authors);
licenseUrl=$(PackageLicenseUrl);
iconUrl=$(PackageIconUrl);
projectUrl=$(PackageProjectUrl);
repositoryUrl=$(RepositoryUrl);
repositoryType=$(RepositoryType);
repositoryCommit=$(RepositoryCommit);
version=$(PackageVersion);
description=$(Description);
serviceable=$([MSBuild]::ValueOrDefault('$(Serviceable)', 'false'));
</NuspecProperties>
</PropertyGroup>
</Target>

View File

@ -3,8 +3,7 @@
<metadata>
<id>Microsoft.AspNetCore.Server.IIS</id>
<version>$version$</version>
<authors>Microsoft</authors>
<owners>Microsoft</owners>
<authors>$author$</authors>
<licenseUrl>$licenseUrl$</licenseUrl>
<copyright>$copyright$</copyright>
<projectUrl>$projectUrl$</projectUrl>
@ -13,7 +12,8 @@
<description>$description$</description>
<language>en-US</language>
<tags>aspnetcore iis</tags>
<repository type="git" url="$repositoryUrl$" />
<serviceable>$serviceable$</serviceable>
<repository type="$repositoryType$" url="$repositoryUrl$" commit="$repositoryCommit$" />
<dependencies>
<group targetFramework="$tfmGroup$">
<dependency id="Microsoft.AspNetCore.Server.IISIntegration" version="[$version$ , )" />