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

Commit 9ef22b0

Browse files
authored
Tag non-shipping nupkg as 'NonShipping=true' in the manifest. (#8647)
* Tag non-shipping nupkg as 'NonShipping=true' in the manifest. * Simplifying the NuPkg publish. * Fixing a typo... * Changes per code review...
1 parent 6cfa44d commit 9ef22b0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

build/publish/PublishNupkgToBlobFeed.targets

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
34
<ItemGroup>
45
<NupkgsForPublishing Include="$(PackagesDirectory)/Microsoft.DotNet.Cli.Utils.*.nupkg" />
5-
<NupkgsForPublishing Include="$(PackagesDirectory)/Microsoft.DotNet.MSBuildSdkResolver.*.nupkg" />
6+
<NupkgsForPublishing Include="$(PackagesDirectory)/Microsoft.DotNet.MSBuildSdkResolver.*.nupkg">
7+
<ManifestArtifactData>NonShipping=true</ManifestArtifactData>
8+
</NupkgsForPublishing>
69
</ItemGroup>
710

811
<Target Name="PublishNupkgToBlobFeed" Condition=" '$(OS)' == 'Windows_NT' And '$(Architecture)' == 'x64' " >
912
<Error Condition="'$(BlobFeedCloudDropAccessToken)' == ''" Text="Missing property BlobFeedCloudDropAccessToken." />
1013
<Error Condition="'$(BlobFeedExpectedURL)' == ''" Text="Missing property BlobFeedExpectedURL." />
11-
14+
1215
<Message Text="Publish NuPkgs to Blob feed started: $(BlobFeedExpectedURL)" />
1316
<PushToBlobFeed ExpectedFeedUrl="$(BlobFeedExpectedURL)"
1417
AccountKey="$(BlobFeedCloudDropAccessToken)"

0 commit comments

Comments
 (0)