Octopack replace package if it exists?

I know that in a recent release (3.2.4 I think) an option was added to replace a package pushed with NUGET.

How about with Octopack? Do we have a switch to replace an existing package of the same version?

Hi Michael,

That change was introduced only for the Octopus built-in repository. Pushing to the URL ending with ?replace=true as shown on the doc for the Octopack parameter /p:OctoPackPublishPackageToHttp should be enough.


It’s still not clear to me. Are you saying that the following will work?


URL to push packages to built-in repository looks a bit like this:


From Octopack, you’ll normally use it like:


Instead, try this:


change localhost for your URL of course

That worked, thanks.