This document is intended for project maintainers.
Charts are packaged and released with cr when the develop branch is merged into master.
Install the following required tools:
Now run the release script:
bash release.sh <Vector release GitHub issue link>This will create the pull requests and wait for them to be approved and merged. If the script fails, please refer to the following section and continue the release manually.
After the script runs, the release workflow should start automatically. Once it completes, you will have successfully released helm-charts!
Always prefer the automated method described above. Use this guide only if the above method fails.
To make releasing easier two scripts are utilized in the steps below.-
Run
$ .github/release-vector-version.sh- Update Helm docs by running
helm-docs - Commit the changes generated from step 1. This needs to be a
conventional commit.
- E.g. "feat(vector): Bump Vector to v0.29.0"
- Submit a PR with the changes.
- Notes:
- This queries vectordotdev/vector
for the latest release and updates the
vectorchart's default image. - This is convenient when updating the chart after a Vector release.
- On macOS, install
gsed
- This queries vectordotdev/vector
for the latest release and updates the
- Update Helm docs by running
-
Run
$ .github/release-changelog.sh- Commit the changes generated from step 1. This needs to be a
conventional commit.
- E.g. "feat(vector): Regenerate CHANGELOG"
- Submit a PR with the changes.
- Notes:
- This pulls the current
vectorchart version and usesgit-cliffto update the CHANGELOG.md. Run this to generate the final commit merged intodevelopbefore mergingdevelopintomaster. - This script requires
yqandgit-cliffto be installed.
- This pulls the current
- Commit the changes generated from step 1. This needs to be a
conventional commit.
-
To kick off the release workflow:
git switch master
git pull
git merge develop
git push