One project with two nuget feeds

I’m trying to create deployments where one environment uses nuget packages from Feed A, and another environment uses nuget packages from Feed B. Both the packages are named the same with different version numbers.

When creating a deployment like this, it asks for both Feed A and Feed B packages but after creating the deployment octopus seems to only grab the packages with the highest version number. To further illustrate the process:

Development - grabs MyProject.Web. from Trunk Feed
Production - grabs MyProject.Web. from Release feed

The release feed contains packages from a release branch, trunk feed contains packages from the trunk of svn.

Is there a better way to accomplish what I’m trying to do?

Hi Sean,

This is a bug in the current Octopus release - it should treat packages from different feeds as being distinct. I’ll include a fix in the next release.

For now the only workaround I can think of is to give the packages different names, or to use two projects.

Thanks for getting in touch,