Merge branch 'release/2.1' into dev
This commit is contained in:
commit
77bf03c9ac
|
|
@ -1,3 +1,7 @@
|
||||||
|
[submodule "modules/AADIntegration"]
|
||||||
|
path = modules/AADIntegration
|
||||||
|
url = https://github.com/aspnet/AADIntegration.git
|
||||||
|
branch = dev
|
||||||
[submodule "modules/Antiforgery"]
|
[submodule "modules/Antiforgery"]
|
||||||
path = modules/Antiforgery
|
path = modules/Antiforgery
|
||||||
url = https://github.com/aspnet/Antiforgery.git
|
url = https://github.com/aspnet/Antiforgery.git
|
||||||
|
|
|
||||||
|
|
@ -59,6 +59,7 @@
|
||||||
<Target Name="GetFilesToPublish" DependsOnTargets="GetArtifactInfo;GeneratePublishFiles">
|
<Target Name="GetFilesToPublish" DependsOnTargets="GetArtifactInfo;GeneratePublishFiles">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<BlobBasePath>aspnetcore/Runtime/$(PackageVersion)/</BlobBasePath>
|
<BlobBasePath>aspnetcore/Runtime/$(PackageVersion)/</BlobBasePath>
|
||||||
|
<NpmBlobBasePath>aspnetcore/npm/</NpmBlobBasePath>
|
||||||
<AliasBlobBasePath>aspnetcore/Runtime/$(SharedFxCliBlobChannel)/</AliasBlobBasePath>
|
<AliasBlobBasePath>aspnetcore/Runtime/$(SharedFxCliBlobChannel)/</AliasBlobBasePath>
|
||||||
<PackageArchiveFileName>nuGetPackagesArchive-$(PackageVersion).lzma</PackageArchiveFileName>
|
<PackageArchiveFileName>nuGetPackagesArchive-$(PackageVersion).lzma</PackageArchiveFileName>
|
||||||
<InstallerBaseFileName>aspnetcore-runtime-$(PackageVersion)</InstallerBaseFileName>
|
<InstallerBaseFileName>aspnetcore-runtime-$(PackageVersion)</InstallerBaseFileName>
|
||||||
|
|
@ -133,38 +134,33 @@
|
||||||
ArtifactPath="$(DependencyPackagesDir)%(ArtifactInfo.PackageId).%(ArtifactInfo.Version).symbols.nupkg"
|
ArtifactPath="$(DependencyPackagesDir)%(ArtifactInfo.PackageId).%(ArtifactInfo.Version).symbols.nupkg"
|
||||||
Condition="'%(ArtifactInfo.ArtifactType)' == 'NuGetSymbolsPackage'" />
|
Condition="'%(ArtifactInfo.ArtifactType)' == 'NuGetSymbolsPackage'" />
|
||||||
|
|
||||||
<NpmPackageToPublish Include="$(DependencyAssetsDir)%(ArtifactInfo.FileName)%(ArtifactInfo.Extension)" Condition="'%(ArtifactInfo.ArtifactType)' == 'NpmPackage'" />
|
<NpmPackageToPublish Include="$(DependencyAssetsDir)%(ArtifactInfo.FileName)%(ArtifactInfo.Extension)" Condition="'%(ArtifactInfo.ArtifactType)' == 'NpmPackage'">
|
||||||
|
<RelativeBlobPath>$(NpmBlobBasePath)%(ArtifactInfo.PackageId)/%(ArtifactInfo.FileName)%(ArtifactInfo.Extension)</RelativeBlobPath>
|
||||||
|
<ManifestArtifactData>Type=NpmPackage</ManifestArtifactData>
|
||||||
|
<ContentType>application/tar+gzip</ContentType>
|
||||||
|
</NpmPackageToPublish>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<!-- Join required because shipping category is stored in universe (PackageArtifact), but information about package ID and version comes from repos (ArtifactInfo). -->
|
<!-- Join required because shipping category is stored in universe (PackageArtifact), but information about package ID and version comes from repos (ArtifactInfo). -->
|
||||||
<RepoTasks.JoinItems
|
<RepoTasks.JoinItems
|
||||||
Left="@(_PackageArtifactInfo)" LeftKey="PackageId" LeftMetadata="*" LeftItemSpec="Identity"
|
Left="@(_PackageArtifactInfo->WithMetadataValue('Category',''))" LeftKey="PackageId" LeftMetadata="*" LeftItemSpec="Identity"
|
||||||
Right="@(PackageArtifact)" RightMetadata="Category">
|
Right="@(PackageArtifact)" RightMetadata="Category">
|
||||||
<Output TaskParameter="JoinResult" ItemName="_PackageArtifactInfoWithCategory" />
|
<Output TaskParameter="JoinResult" ItemName="_PackageArtifactInfoWithCategory" />
|
||||||
</RepoTasks.JoinItems>
|
</RepoTasks.JoinItems>
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<_MissingPackageArtifact Include="@(PackageArtifact)" />
|
|
||||||
<_MissingPackageArtifact Remove="%(_PackageArtifactInfoWithCategory.PackageId)" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<RepoTasks.JoinItems
|
<RepoTasks.JoinItems
|
||||||
Left="@(_SymbolsPackageArtifactInfo)" LeftKey="PackageId" LeftMetadata="*" LeftItemSpec="Identity"
|
Left="@(_SymbolsPackageArtifactInfo->WithMetadataValue('Category',''))" LeftKey="PackageId" LeftMetadata="*" LeftItemSpec="Identity"
|
||||||
Right="@(PackageArtifact)" RightMetadata="Category">
|
Right="@(PackageArtifact)" RightMetadata="Category">
|
||||||
<Output TaskParameter="JoinResult" ItemName="_SymbolsArtifactInfoWithCategory" />
|
<Output TaskParameter="JoinResult" ItemName="_SymbolsArtifactInfoWithCategory" />
|
||||||
</RepoTasks.JoinItems>
|
</RepoTasks.JoinItems>
|
||||||
|
|
||||||
<!--
|
|
||||||
Add symbols packages to PackageToPublish after validating PackageToPublish matches PackageArtifact.
|
|
||||||
We don't always produce a symbols package for each regular packages.
|
|
||||||
-->
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageToPublish Include="%(_PackageArtifactInfoWithCategory.ArtifactPath)" Category="%(_PackageArtifactInfoWithCategory.Category)" />
|
<PackageToPublish Include="%(_PackageArtifactInfoWithCategory.ArtifactPath)" Category="%(_PackageArtifactInfoWithCategory.Category)" />
|
||||||
|
<PackageToPublish Include="%(_PackageArtifactInfo.ArtifactPath)" Category="%(_PackageArtifactInfo.Category)" Condition="'%(_PackageArtifactInfo.Category)' != ''" />
|
||||||
<PackageToPublish Include="%(_SymbolsArtifactInfoWithCategory.ArtifactPath)" Category="%(_SymbolsArtifactInfoWithCategory.Category)" />
|
<PackageToPublish Include="%(_SymbolsArtifactInfoWithCategory.ArtifactPath)" Category="%(_SymbolsArtifactInfoWithCategory.Category)" />
|
||||||
|
<PackageToPublish Include="%(_SymbolsPackageArtifactInfo.ArtifactPath)" Category="%(_SymbolsPackageArtifactInfo.Category)" Condition="'%(_SymbolsPackageArtifactInfo.Category)' != ''" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Target>
|
|
||||||
|
|
||||||
<Target Name="_CheckFilesToPublish">
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<_MissingArtifactFile Include="@(FilesToPublish)" Condition="!Exists(%(FilesToPublish.Identity))" />
|
<_MissingArtifactFile Include="@(FilesToPublish)" Condition="!Exists(%(FilesToPublish.Identity))" />
|
||||||
<_MissingArtifactFile Include="@(NpmPackageToPublish)" Condition="!Exists(%(NpmPackageToPublish.Identity))" />
|
<_MissingArtifactFile Include="@(NpmPackageToPublish)" Condition="!Exists(%(NpmPackageToPublish.Identity))" />
|
||||||
|
|
@ -172,15 +168,14 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<Error Text="Missing expected files:%0A - @(_MissingArtifactFile, '%0A - ')" Condition="@(_MissingArtifactFile->Count()) != 0" />
|
<Error Text="Missing expected files:%0A - @(_MissingArtifactFile, '%0A - ')" Condition="@(_MissingArtifactFile->Count()) != 0" />
|
||||||
<Error Text="Missing expected packages from PackageToPublish. These were defined as expected PackageArtifact's in artifacts.props: %0A - @(_MissingPackageArtifact, '%0A - ')" Condition="@(_MissingPackageArtifact->Count()) != 0" />
|
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="CopyToPublishArtifacts" DependsOnTargets="_CheckFilesToPublish">
|
<Target Name="CopyToPublishArtifacts" DependsOnTargets="GetFilesToPublish">
|
||||||
<Copy SourceFiles="%(FilesToPublish.Identity)" DestinationFiles="$(ArtifactsDir)%(FilesToPublish.RelativeBlobPath)" Condition="'%(FilesToPublish.RelativeBlobPath)' != ''" />
|
<Copy SourceFiles="%(FilesToPublish.Identity)" DestinationFiles="$(ArtifactsDir)%(FilesToPublish.RelativeBlobPath)" Condition="'%(FilesToPublish.RelativeBlobPath)' != ''" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="PublishToMyGet"
|
<Target Name="PublishToMyGet"
|
||||||
DependsOnTargets="_CheckFilesToPublish;GetToolsets"
|
DependsOnTargets="GetFilesToPublish;GetToolsets"
|
||||||
Condition="'$(PublishToMyget)' == 'true'">
|
Condition="'$(PublishToMyget)' == 'true'">
|
||||||
|
|
||||||
<Error Text="Missing required property: PublishMyGetFeedUrl" Condition=" '$(PublishMyGetFeedUrl)' == '' "/>
|
<Error Text="Missing required property: PublishMyGetFeedUrl" Condition=" '$(PublishMyGetFeedUrl)' == '' "/>
|
||||||
|
|
@ -221,7 +216,7 @@
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="PublishToAzureFeed"
|
<Target Name="PublishToAzureFeed"
|
||||||
DependsOnTargets="_CheckFilesToPublish"
|
DependsOnTargets="GetFilesToPublish"
|
||||||
Condition="'$(PublishToAzureFeed)' == 'true'">
|
Condition="'$(PublishToAzureFeed)' == 'true'">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
|
@ -244,7 +239,7 @@
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="PublishToTransportFeed"
|
<Target Name="PublishToTransportFeed"
|
||||||
DependsOnTargets="ResolveCommitHash;GetFilesToPublish;_CheckFilesToPublish"
|
DependsOnTargets="ResolveCommitHash;GetFilesToPublish"
|
||||||
Condition="'$(PublishToTransportFeed)' == 'true'">
|
Condition="'$(PublishToTransportFeed)' == 'true'">
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
@ -257,6 +252,10 @@
|
||||||
ManifestArtifactData="NonShipping=true"
|
ManifestArtifactData="NonShipping=true"
|
||||||
Condition="'%(PackageToPublish.Category)' != 'ship'" />
|
Condition="'%(PackageToPublish.Category)' != 'ship'" />
|
||||||
|
|
||||||
|
<FilesToPublishToTransport Include="@(NpmPackageToPublish)"
|
||||||
|
RelativeBlobPath="$(BlobFileRelativePathBase)%(NpmPackageToPublish.RelativeBlobPath)"
|
||||||
|
ManifestArtifactData="%(NpmPackageToPublish.ManifestArtifactData)" />
|
||||||
|
|
||||||
<!-- Filter aliased artifacts to workaround dotnet/buildtools#1855 -->
|
<!-- Filter aliased artifacts to workaround dotnet/buildtools#1855 -->
|
||||||
<FilesToPublishToTransport Include="@(FilesToPublish)"
|
<FilesToPublishToTransport Include="@(FilesToPublish)"
|
||||||
RelativeBlobPath="$(BlobFileRelativePathBase)%(FilesToPublish.RelativeBlobPath)"
|
RelativeBlobPath="$(BlobFileRelativePathBase)%(FilesToPublish.RelativeBlobPath)"
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,8 @@
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<WindowsSharedFxRIDs Include="win-x64;win-x86"/>
|
<WindowsSharedFxRIDs Include="win-x64;win-x86"/>
|
||||||
<NonWindowsSharedFxRIDs Include="osx-x64;linux-x64" />
|
<NonWindowsSharedFxRIDs Include="osx-x64" CrossgenSymbolsSupported="false" />
|
||||||
|
<NonWindowsSharedFxRIDs Include="linux-x64" />
|
||||||
<NonWindowsSharedFxRIDs Include="alpine.3.6-x64" />
|
<NonWindowsSharedFxRIDs Include="alpine.3.6-x64" />
|
||||||
<AllSharedFxRIDs Include="@(WindowsSharedFxRIDs);@(NonWindowsSharedFxRIDs)"/>
|
<AllSharedFxRIDs Include="@(WindowsSharedFxRIDs);@(NonWindowsSharedFxRIDs)"/>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,20 @@
|
||||||
Properties="PackageOutputPath=$(BuildDir);BuildNumber=$(BuildNumber);DesignTimeBuild=true;IsFinalBuild=$(IsFinalBuild)">
|
Properties="PackageOutputPath=$(BuildDir);BuildNumber=$(BuildNumber);DesignTimeBuild=true;IsFinalBuild=$(IsFinalBuild)">
|
||||||
<Output TaskParameter="TargetOutputs" ItemName="ArtifactInfo" />
|
<Output TaskParameter="TargetOutputs" ItemName="ArtifactInfo" />
|
||||||
</MSBuild>
|
</MSBuild>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<!-- Cartesian products in MSBuild are fun :) -->
|
||||||
|
<_SharedFrameworkSymbolsPackage Include="@(SharedFrameworkName)" Condition="'%(AllSharedFxRIDs.CrossgenSymbolsSupported)' != 'false'">
|
||||||
|
<Rid>%(AllSharedFxRIDs.Identity)</Rid>
|
||||||
|
</_SharedFrameworkSymbolsPackage>
|
||||||
|
<_SharedFrameworkSymbolsPackage Update="@(_SharedFrameworkSymbolsPackage)" PackageId="runtime.%(Rid).%(Identity)" />
|
||||||
|
<ArtifactInfo Include="@(_SharedFrameworkSymbolsPackage->'$(BuildDir)%(PackageId).$(PackageVersion).symbols.nupkg')">
|
||||||
|
<ArtifactType>NuGetSymbolsPackage</ArtifactType>
|
||||||
|
<PackageId>%(_SharedFrameworkSymbolsPackage.PackageId)</PackageId>
|
||||||
|
<Version>$(PackageVersion)</Version>
|
||||||
|
<Category>shipoob</Category>
|
||||||
|
</ArtifactInfo>
|
||||||
|
</ItemGroup>
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="_BuildMetapackage" DependsOnTargets="ResolveRepoInfo">
|
<Target Name="_BuildMetapackage" DependsOnTargets="ResolveRepoInfo">
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,7 @@
|
||||||
<PackageArtifact Include="Microsoft.AspNetCore.AspNetCoreModule" Category="noship" />
|
<PackageArtifact Include="Microsoft.AspNetCore.AspNetCoreModule" Category="noship" />
|
||||||
<PackageArtifact Include="Microsoft.AspNetCore.Authentication" Category="ship" AppMetapackage="true" AllMetapackage="true"/>
|
<PackageArtifact Include="Microsoft.AspNetCore.Authentication" Category="ship" AppMetapackage="true" AllMetapackage="true"/>
|
||||||
<PackageArtifact Include="Microsoft.AspNetCore.Authentication.Abstractions" Category="ship" AppMetapackage="true" AllMetapackage="true"/>
|
<PackageArtifact Include="Microsoft.AspNetCore.Authentication.Abstractions" Category="ship" AppMetapackage="true" AllMetapackage="true"/>
|
||||||
|
<PackageArtifact Include="Microsoft.AspNetCore.Authentication.AzureADB2C.UI" Category="ship"/>
|
||||||
<PackageArtifact Include="Microsoft.AspNetCore.Authentication.Cookies" Category="ship" AppMetapackage="true" AllMetapackage="true"/>
|
<PackageArtifact Include="Microsoft.AspNetCore.Authentication.Cookies" Category="ship" AppMetapackage="true" AllMetapackage="true"/>
|
||||||
<PackageArtifact Include="Microsoft.AspNetCore.Authentication.Core" Category="ship" AppMetapackage="true" AllMetapackage="true"/>
|
<PackageArtifact Include="Microsoft.AspNetCore.Authentication.Core" Category="ship" AppMetapackage="true" AllMetapackage="true"/>
|
||||||
<PackageArtifact Include="Microsoft.AspNetCore.Authentication.Facebook" Category="ship" AppMetapackage="true" AllMetapackage="true"/>
|
<PackageArtifact Include="Microsoft.AspNetCore.Authentication.Facebook" Category="ship" AppMetapackage="true" AllMetapackage="true"/>
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,9 @@
|
||||||
<NativeInstaller Include="x64" FileExt=".deb" />
|
<NativeInstaller Include="x64" FileExt=".deb" />
|
||||||
<NativeInstaller Include="x64" FileExt=".rpm" />
|
<NativeInstaller Include="x64" FileExt=".rpm" />
|
||||||
<NativeInstaller Include="rh.rhel.7-x64" FileExt=".rpm" />
|
<NativeInstaller Include="rh.rhel.7-x64" FileExt=".rpm" />
|
||||||
|
|
||||||
|
<SharedFrameworkName Include="Microsoft.AspNetCore.All" />
|
||||||
|
<SharedFrameworkName Include="Microsoft.AspNetCore.App" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<Repository Include="AADIntegration" />
|
||||||
<Repository Include="Antiforgery" />
|
<Repository Include="Antiforgery" />
|
||||||
<Repository Include="AuthSamples" />
|
<Repository Include="AuthSamples" />
|
||||||
<Repository Include="AzureIntegration" />
|
<Repository Include="AzureIntegration" />
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 500279ea988c3a34c41c275292627a698d9b172f
|
||||||
Loading…
Reference in New Issue