Skip to content

Commit

Permalink
Add manual publish step to nuget.org
Browse files Browse the repository at this point in the history
  • Loading branch information
carolynvs committed Jun 22, 2015
1 parent 60527cf commit 3da2c6e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build/build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,9 @@
<Exec Command="$(NuGet) pack ..\src\corelib\corelib.nuspec -OutputDirectory ..\artifacts\packages -Prop Configuration=$(Configuration) -Version $(Version) -Symbols" WorkingDirectory="$(MSBuildThisFileDirectory)" />
</Target>

<Target Name="Publish" DependsOnTargets="DownloadNuGet">
<!-- The environment variable BAMBOO_NUGET_PASSWORD comes from the nuget.password variable defined on the openstack.net plan in Bamboo -->
<Exec Command="$(NuGet) push ..\artifacts\packages\openstack.net.$(Version).nupkg %BAMBOO_NUGET_PASSWORD%" WorkingDirectory="$(MSBuildThisFileDirectory)" />
</Target>

</Project>

0 comments on commit 3da2c6e

Please sign in to comment.