Promoting releases using Octo.exe on Channel basis

Hi,
I’m trying to using promote releases using octo.exe promote-release command, is there any way we can pass the channel name? Because we have a single octopus project with 4 channels, and we want to promote the releases based on the channel name

Please help us in this.

Thanks & Regards,
Karthikeyan Rajasekaran

Hi,

Thanks for reaching out. It seems we do not have a --channel parameter for promote-release. I’ll bring that up to the team.

In the meantime you can use deploy-release which does have a --channel parameter. Instead of using --from and --to, use --version to define the release version you want to use and --deployto to set the environment.

Regards,
Dalmiro