chart-releaser icon indicating copy to clipboard operation
chart-releaser copied to clipboard

Allow filtering to release only certain packages

Open colearendt opened this issue 3 years ago • 1 comments
trafficstars

In some contexts, it would be nice to have a mechanism for excluding packages from being published, or by contrast, choosing explicitly which packages should be published.

i.e. cr upload --include='package1*' or cr upload --exclude='packages*'

This could be particularly useful with https://github.com/helm/chart-releaser-action and devel or rc releases off of non-main

It may also be helpful to have a check/flag that would only released --devel versions of a chart. (So you do not risk CI failure or a false publish of a branch to a version that is not desired)

Expected workflow with GitHub Actions: /release-devel some-package, which triggers a devel/rc release of some-package, but does not check or potentially release others, and would error if some-package had a version defined other than a --devel version

Alternatively, run on a dev branch and only trigger on --devel versions

colearendt avatar Jul 08 '22 19:07 colearendt

@unguiculus @cpanato Is the project willing to make that change? I could create a PR for it.

aabouzaid avatar Jun 12 '24 11:06 aabouzaid