Exclude prerelease packages from channel

If i only want to deploy packages that do not include a suffix what version rule would i need to set? I tried excluding all characters on the tag rule but that would not work for, it would only select the numbers part of a version that uses a suffix e.g of So setting a tag rule only works for packages WITH tags. This means i need to set the version rule to specifically ignore packages with a suffix, how would i do that?

You can use the following ‘empty’ regex in the Tag field:


This will select all non-prerelease packages.

Hi @Adam,

Thanks for reaching out. @Jakub’s recommendation should do exactly what you need.

If that doesn’t work, let us know along with the Octopus version you are using.


Thanks Jakub! That worked as expected.