contane / charts

Contane Helm Charts
https://artifacthub.io/packages/search?repo=contane-github
Apache License 2.0
1 stars 1 forks source link

chore: Add a CI job to verify chart versions are bumped #18

Closed meyfa closed 2 months ago

meyfa commented 2 months ago

Description

Fixes #12. For every chart directory with changes, the script obtains the previous version string from the main branch as well as the current version string from the working directory, then compares them. If the current version is not strictly greater, the job fails.

Additional Context

This implementation relies on GitHub being configured to prevent merging of non-rebased PRs. Otherwise, two PRs could be made with the same version increment, and once both of their CIs pass, they could both be merged without the later one receiving another version bump.

Checklist