Release flow
Checkout a branch
release/X.X.X(with the new version number)In the
backenddirectory, usebump-my-version show-bumpto show the possibilities, for example:bump-my-version show-bump 0.1.0 ── bump ─┬─ major ─ 1.0.0 ├─ minor ─ 0.2.0 ├─ patch ─ 0.1.1 ├─ pre_l ─ invalid: The part has already the maximum value among ['', 'alpha', 'beta', 'rc', 'final'] and cannot be bumped. ╰─ pre_n ─ 0.1.0-final.1
Bump the version. For example
bump-my-version bump major.In the
frontend/folder, runnpm installto also update thepackage-lock.jsonfile after thepackage.jsonhas been bumped.In the
backend/folder, run./bin/make_translations.shand check if any translations need changing.Update the
CHANGELOG.mdfile.Commit the changes and push the branch.
Once the branch is approved, merge it into main.
Create a tag with
git tag -a 1.0.0 -m ":bookmark: Release 1.0.0".Push the tag with
git push origin 1.0.0.Once the new image has been pushed to Dockerhub, celebrate! 🎉