20 lines
1.2 KiB
XML
20 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<Import Condition="'$(GeneratePropsFile)' != 'true'" Project="$(NuGetPackagesDir)/microsoft.dotnet.build.tasks.feed/$(BuildTasksFeedToolVersion)/build/Microsoft.DotNet.Build.Tasks.Feed.targets" />
|
|
|
|
<ItemGroup>
|
|
<NupkgsForPublishing Include="$(PackagesDirectory)/Microsoft.DotNet.Cli.Utils.*.nupkg" />
|
|
<NupkgsForPublishing Include="$(PackagesDirectory)/Microsoft.DotNet.MSBuildSdkResolver.*.nupkg" />
|
|
</ItemGroup>
|
|
|
|
<Target Name="PublishNupkgToBlobFeed" Condition=" '$(OS)' == 'Windows_NT' And '$(Architecture)' == 'x64' " >
|
|
<Error Condition="'$(BlobFeedCloudDropAccessToken)' == ''" Text="Missing property BlobFeedCloudDropAccessToken." />
|
|
<Error Condition="'$(BlobFeedExpectedURL)' == ''" Text="Missing property BlobFeedExpectedURL." />
|
|
|
|
<Message Text="Publish NuPkgs to Blob feed started" />
|
|
<PushToBlobFeed AccountKey="$(BlobFeedCloudDropAccessToken)"
|
|
ExpectedFeedUrl="$(BlobFeedExpectedURL)"
|
|
ItemsToPush="@(NupkgsForPublishing)"
|
|
Overwrite="false" />
|
|
</Target>
|
|
</Project>
|