Deploying package to Project and selecting Channel by using the Tag rule

Hi

I have following scenario

  1. A dev branch
  2. A main branch
  3. When pushing a package from dev branch the name is something like -dev
  4. When from main it is name -main

I then use Octo.exe to deploy a version using Lifecycle name and the current version.
I was then hoping that it selected the right channel based on the tag-rule defined on the channel.
Is this true?

I hope it makes sense.

Hi,

Thanks for reaching out! Octo.exe doesn’t have a way to pass the Lifecycle as a parameter.

I was then hoping that it selected the right channel based on the tag-rule defined on the channel.

You should be using --channel to pass the channel name, and based on that Octopus will pick the right package based on the tag-rule of the channel.

Hope that helps,
Dalmiro