2017-09-29 20:25:47 +03:00
|
|
|
<Project>
|
|
|
|
<Target Name="Push">
|
|
|
|
<Error Text="Missing required property: NuGetPublishFeed" Condition=" '$(NuGetPublishFeed)' == '' "/>
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
<_PackagesToPush Include="$(BuildDir)*.nupkg" />
|
|
|
|
<_PackagesToPush Include="$(ArtifactsDir)mirror\*.nupkg" />
|
2017-09-30 00:14:57 +03:00
|
|
|
<_LineupPackagesToPush Include="$(LineupBuildDir)*.nupkg" />
|
2017-09-29 20:25:47 +03:00
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<PushNuGetPackages
|
|
|
|
Packages="@(_PackagesToPush)"
|
|
|
|
Feed="$(NuGetPublishFeed)"
|
|
|
|
Condition="@(_PackagesToPush->Count()) != 0"
|
|
|
|
ApiKey="$(APIKey)" />
|
|
|
|
|
|
|
|
<PushNuGetPackages
|
|
|
|
Packages="@(_LineupPackagesToPush)"
|
|
|
|
Feed="$(NuGetPublishFeed)"
|
|
|
|
Condition="@(_LineupPackagesToPush->Count()) != 0"
|
|
|
|
ApiKey="$(APIKey)" />
|
|
|
|
</Target>
|
|
|
|
</Project>
|