Problems with package selection during project release

My project uses different names for packages on different branches.
image

For this I created 2 channels.

Made the DEV environment the default auto-publish, setting up triggers for this.

But now when I upload a release from the mian branch, it also triggers the DEV auto-publish, so I have to disable the auto-trigger.

But there is another problem, when I update the DEV package from Azure DevOps, it shows that octopus is using the MAIN package.

Please, how to solve this problem, thank you very much!

Hey Lily,

I think this same issue can be solved with my response over here: Why my "packages" are not sorted by time - #7 by jeremy.miller

Can you please give that a look and let me know what you think.

Best,
Jeremy