Filter osx from symbols packages and include npm artifacts in prodcon
This commit is contained in:
parent
5aae1f91a8
commit
c569d163c4
|
|
@ -59,6 +59,7 @@
|
|||
<Target Name="GetFilesToPublish" DependsOnTargets="GetArtifactInfo;GeneratePublishFiles">
|
||||
<PropertyGroup>
|
||||
<BlobBasePath>aspnetcore/Runtime/$(PackageVersion)/</BlobBasePath>
|
||||
<NpmBlobBasePath>aspnetcore/npm/</NpmBlobBasePath>
|
||||
<AliasBlobBasePath>aspnetcore/Runtime/$(SharedFxCliBlobChannel)/</AliasBlobBasePath>
|
||||
<PackageArchiveFileName>nuGetPackagesArchive-$(PackageVersion).lzma</PackageArchiveFileName>
|
||||
<InstallerBaseFileName>aspnetcore-runtime-$(PackageVersion)</InstallerBaseFileName>
|
||||
|
|
@ -133,7 +134,11 @@
|
|||
ArtifactPath="$(DependencyPackagesDir)%(ArtifactInfo.PackageId).%(ArtifactInfo.Version).symbols.nupkg"
|
||||
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>
|
||||
|
||||
<!-- Join required because shipping category is stored in universe (PackageArtifact), but information about package ID and version comes from repos (ArtifactInfo). -->
|
||||
|
|
@ -247,6 +252,10 @@
|
|||
ManifestArtifactData="NonShipping=true"
|
||||
Condition="'%(PackageToPublish.Category)' != 'ship'" />
|
||||
|
||||
<FilesToPublishToTransport Include="@(NpmPackageToPublish)"
|
||||
RelativeBlobPath="$(BlobFileRelativePathBase)%(NpmPackageToPublish.RelativeBlobPath)"
|
||||
ManifestArtifactData="%(NpmPackageToPublish.ManifestArtifactData)" />
|
||||
|
||||
<!-- Filter aliased artifacts to workaround dotnet/buildtools#1855 -->
|
||||
<FilesToPublishToTransport Include="@(FilesToPublish)"
|
||||
RelativeBlobPath="$(BlobFileRelativePathBase)%(FilesToPublish.RelativeBlobPath)"
|
||||
|
|
|
|||
|
|
@ -56,7 +56,8 @@
|
|||
|
||||
<ItemGroup>
|
||||
<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" />
|
||||
<AllSharedFxRIDs Include="@(WindowsSharedFxRIDs);@(NonWindowsSharedFxRIDs)"/>
|
||||
</ItemGroup>
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
<ItemGroup>
|
||||
<!-- Cartesian products in MSBuild are fun :) -->
|
||||
<_SharedFrameworkSymbolsPackage Include="@(SharedFrameworkName)">
|
||||
<_SharedFrameworkSymbolsPackage Include="@(SharedFrameworkName)" Condition="'%(AllSharedFxRIDs.CrossgenSymbolsSupported)' != 'false'">
|
||||
<Rid>%(AllSharedFxRIDs.Identity)</Rid>
|
||||
</_SharedFrameworkSymbolsPackage>
|
||||
<_SharedFrameworkSymbolsPackage Update="@(_SharedFrameworkSymbolsPackage)" PackageId="runtime.%(Rid).%(Identity)" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue