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">
|
2017-11-09 17:30:11 +00:00
|
|
|
<PropertyGroup>
|
|
|
|
<BuildTasksFeedToolTargetsFileName>"$(NuGetPackagesDir)/microsoft.dotnet.build.tasks.feed/$(BuildTasksFeedToolVersion)/build/Microsoft.DotNet.Build.Tasks.Feed.targets"</BuildTasksFeedToolTargetsFileName>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<Import Condition="Exists('$(BuildTasksFeedToolTargetsFileName)')" Project="$(BuildTasksFeedToolTargetsFileName)" />
|
|
|
|
|
2017-10-16 21:33:50 +00:00
|
|
|
<ItemGroup>
|
2017-10-20 21:02:41 +00:00
|
|
|
<NupkgsForPublishing Include="$(PackagesDirectory)/Microsoft.DotNet.Cli.Utils.*.nupkg" />
|
|
|
|
<NupkgsForPublishing Include="$(PackagesDirectory)/Microsoft.DotNet.MSBuildSdkResolver.*.nupkg" />
|
2017-10-16 21:33:50 +00:00
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<PropertyGroup>
|
2017-11-09 03:07:29 +00:00
|
|
|
<ExpectedFeedUrl>https://dotnetfeed.blob.core.windows.net/$(TransportFeedContainerName)/index.json</ExpectedFeedUrl>
|
2017-10-16 21:33:50 +00:00
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<Target Name="PublishNupkgToTransportFeed" Condition=" '$(PUBLISH_NUPKG_TO_TRANSPORT_FEED)' == 'true' AND '$(OS)' == 'Windows_NT' And '$(Architecture)' == 'x64' " >
|
|
|
|
<Error Condition="'$(TransportFeedCloudDropAccessToken)' == ''" Text="Missing property TransportFeedCloudDropAccessToken." />
|
|
|
|
|
2017-11-09 03:07:29 +00:00
|
|
|
<Message Text="Publish NuPkgs to Transport feed started" />
|
2017-10-16 21:33:50 +00:00
|
|
|
<PushToBlobFeed AccountKey="$(TransportFeedCloudDropAccessToken)"
|
2017-11-09 03:07:29 +00:00
|
|
|
ExpectedFeedUrl="$(ExpectedFeedUrl)"
|
2017-10-20 21:02:41 +00:00
|
|
|
ItemsToPush="@(NupkgsForPublishing)"
|
2017-11-09 03:07:29 +00:00
|
|
|
Overwrite="false" />
|
2017-10-16 21:33:50 +00:00
|
|
|
</Target>
|
|
|
|
</Project>
|