Simplified some logic.
This commit is contained in:
parent
14be2fc2a8
commit
ef22bb23fc
1 changed files with 1 additions and 5 deletions
|
@ -11,17 +11,13 @@
|
|||
<NupkgsForPublishing Include="$(PackagesDirectory)/Microsoft.DotNet.MSBuildSdkResolver.*.nupkg" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<ExpectedFeedUrl>$(TransportFeedExpectedURL)</ExpectedFeedUrl>
|
||||
</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." />
|
||||
<Error Condition="'$(TransportFeedExpectedURL)' == ''" Text="Missing property TransportFeedExpectedURL." />
|
||||
|
||||
<Message Text="Publish NuPkgs to Transport feed started" />
|
||||
<PushToBlobFeed AccountKey="$(TransportFeedCloudDropAccessToken)"
|
||||
ExpectedFeedUrl="$(ExpectedFeedUrl)"
|
||||
ExpectedFeedUrl="$(TransportFeedExpectedURL)"
|
||||
ItemsToPush="@(NupkgsForPublishing)"
|
||||
Overwrite="false" />
|
||||
</Target>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue