Push NugetPack to the other feed

We would like to use two separated deployment system. one for the development and one for a live enviroments because these are in different domain and trust.
I just want to push the Nuget package to the other Nuget feed with a deployment without agent.

Is it possible?
Or any idea?

Hi Peter,

The easiest way that I can think of is to have your deployment contain a single PowerShell script step that looks like this:

# CD to some temporary folder
nuget.exe install ...
nuget.exe push ...

So the script will download the package, then push it to the next feed, effectively doing your promote.

However, you’ll need a Tentacle to run the script on. The easiest way to do this is to install Tentacle on your Octopus server.

Hope that helps,

Paul

Hi Paul,

Thanks the response. It is helpful.
Could you add support to use Nuget feeds in the powershell script?
I think this function would be very helpful to handle this nugetpackage promotion.

Thanks