Helm Distribution plugin is is a set of utilities and Helm Plugin for making offline work with Helm Charts easier. It is meant to be used for creating reproducible and relocatable packages for Helm Charts that can be moved around registries without hassles. This is particularly useful for distributing Helm Charts into airgapped environments.
With the current configuration, the release workflow and the CI workflow run in parallel. We would want the CI workflow to finish before the release workflow runs. With this PR:
The release workflow will run when a CI workflow completes in main
The release job in the workflow will only run if:
The CI workflow was successful, and
The head commit message for that workflow contains "Prepare release v"
A version check exits the job if version in plugin.yaml has not changed from the previous release (the latest tag equals the version in the file)
With the current configuration, the release workflow and the CI workflow run in parallel. We would want the CI workflow to finish before the release workflow runs. With this PR:
main
plugin.yaml
has not changed from the previous release (the latest tag equals the version in the file)