2017-10-16 21:33:50 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2018-02-21 02:48:01 +00:00
|
|
|
|
2018-03-13 15:19:15 +00:00
|
|
|
<Target Name="GatherNupkgsForPublishing">
|
|
|
|
<ItemGroup>
|
|
|
|
<NupkgsForPublishing Include="$(PackagesDirectory)/Microsoft.DotNet.Cli.Utils.*.nupkg"
|
|
|
|
Exclude="$(PackagesDirectory)/*.symbols.nupkg"
|
2018-04-23 21:56:00 +00:00
|
|
|
Condition=" '$(OS)' == 'Windows_NT' And '$(Architecture)' == 'x64' " >
|
|
|
|
<ManifestArtifactData>NonShipping=true</ManifestArtifactData>
|
|
|
|
</NupkgsForPublishing>
|
2018-03-13 15:19:15 +00:00
|
|
|
<NupkgsForPublishing Include="$(PackagesDirectory)/Microsoft.DotNet.MSBuildSdkResolver.*.nupkg"
|
|
|
|
Exclude="$(PackagesDirectory)/*.symbols.nupkg"
|
|
|
|
Condition=" '$(OS)' == 'Windows_NT' And '$(Architecture)' == 'x64' " >
|
|
|
|
<ManifestArtifactData>NonShipping=true</ManifestArtifactData>
|
|
|
|
</NupkgsForPublishing>
|
|
|
|
</ItemGroup>
|
2017-10-16 21:33:50 +00:00
|
|
|
|
2018-03-13 15:19:15 +00:00
|
|
|
<ItemGroup>
|
|
|
|
<SymbolsNupkgsForPublishing Include="$(PackagesDirectory)/Microsoft.DotNet.MSBuildSdkResolver.*.symbols.nupkg"
|
|
|
|
Condition=" '$(OS)' == 'Windows_NT' And '$(Architecture)' == 'x64' " />
|
|
|
|
<SymbolsNupkgsForPublishing Include="$(PackagesDirectory)/runtime.*.Microsoft.DotNet.SDK.*.symbols.nupkg" />
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
<AllNupkgsForPublishing Include="@(SymbolsNupkgsForPublishing);@(NupkgsForPublishing)" />
|
|
|
|
</ItemGroup>
|
|
|
|
</Target>
|
|
|
|
|
2018-08-13 23:15:29 +00:00
|
|
|
<Target Name="PublishNupkgToBlobFeed" Condition=" '$(PUBLISH_NUPKG_TO_BLOB_FEED)' == 'true'" DependsOnTargets="GatherNupkgsForPublishing">
|
2017-11-30 18:35:51 +00:00
|
|
|
<Error Condition="'$(BlobFeedCloudDropAccessToken)' == ''" Text="Missing property BlobFeedCloudDropAccessToken." />
|
|
|
|
<Error Condition="'$(BlobFeedExpectedURL)' == ''" Text="Missing property BlobFeedExpectedURL." />
|
2018-02-21 02:48:01 +00:00
|
|
|
|
2018-01-17 16:46:30 +00:00
|
|
|
<Message Text="Publish NuPkgs to Blob feed started: $(BlobFeedExpectedURL)" />
|
2018-01-17 02:36:50 +00:00
|
|
|
<PushToBlobFeed ExpectedFeedUrl="$(BlobFeedExpectedURL)"
|
|
|
|
AccountKey="$(BlobFeedCloudDropAccessToken)"
|
2018-03-13 15:19:15 +00:00
|
|
|
ItemsToPush="@(AllNupkgsForPublishing)"
|
2018-01-17 02:36:50 +00:00
|
|
|
ManifestBranch="$(BranchName)"
|
|
|
|
ManifestBuildId="$(FullNugetVersion)"
|
|
|
|
ManifestCommit="$(CommitHash)"
|
|
|
|
ManifestName="$(BuildName)"
|
2018-02-05 23:50:50 +00:00
|
|
|
ManifestBuildData="ProductVersion=$(FullNugetVersion)"
|
2018-03-13 15:19:15 +00:00
|
|
|
Overwrite="false"
|
2018-01-17 02:36:50 +00:00
|
|
|
PublishFlatContainer="false"
|
|
|
|
SkipCreateManifest="$(IsNotOrchestratedPublish)" />
|
2017-10-16 21:33:50 +00:00
|
|
|
</Target>
|
|
|
|
</Project>
|