Octo.exe promote-release


octo create-release
* allows me to create and deploy a release

octo deploy-release
* it looks like this was the attempt on what i’m looking for: https://github.com/OctopusDeploy/Octopus-Tools/pull/2
* however a version is required

Why not:

octo promote-release --api=… --server=http://your-octopus/api --project=HelloWorld --from=test --to=uat
* version should have been specified when create-release was called when deploying to test.
* when promoting your moving the packages in one environment and moving them to another environment.

thoughts?

Hi,

I like the suggestion. It can be done, but it requires a slight change to the REST API in Octopus to surface the current release for each environment (you can get it by querying all releases for the project, then all deployments, and then checking the times, but that would be very inefficient).

I’ve added a backlog item to track it:

https://trello.com/card/enable-octo-exe-to-promote-releases/4e907de70880ba000079b75c/164

Paul