Add build target for publishing NuGet packages
This commit is contained in:
parent
72a01fb8f1
commit
dca24eb5cc
|
|
@ -3,4 +3,8 @@
|
||||||
<PackageLineup Include="Internal.AspNetCore.Universe.Lineup" Version="2.1.0-*" />
|
<PackageLineup Include="Internal.AspNetCore.Universe.Lineup" Version="2.1.0-*" />
|
||||||
<PackageLineup Include="Internal.AspNetCore.Partners.Lineup" Version="2.1.0-*" />
|
<PackageLineup Include="Internal.AspNetCore.Partners.Lineup" Version="2.1.0-*" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<NuGetPublishFeed>https://dotnet.myget.org/f/aspnetcore-ci-dev</NuGetPublishFeed>
|
||||||
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,10 @@
|
||||||
<Project>
|
<Project>
|
||||||
<Import Project="FixPackageOutputDirs.targets" />
|
<Import Project="FixPackageOutputDirs.targets" />
|
||||||
|
|
||||||
|
<Target Name="PushNuGetPackages">
|
||||||
|
<ItemGroup>
|
||||||
|
<PackagesToPublish Include="$(BuildDir)*.nupkg" />
|
||||||
|
</ItemGroup>
|
||||||
|
<PushNuGetPackages Packages="@(PackagesToPublish)" Feed="$(NuGetPublishFeed)" ApiKey="$(ApiKey)" />
|
||||||
|
</Target>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue