Releases
How a version is cut, deployed and announced.
One version for the whole monorepo, tagged vX.Y.Z, starting at 0.1.0.
Flow
- every merge to
maindeploys staging (staging.yml, afterciis green) - once staging proves the new commit live (
/healthreports its sha) andcipassed on it,staging.ymlcalls thereleaseworkflow for that exact commit: it tagsvX.Y.Z(minor if atype:featurePR was merged since the last tag, patch otherwise, no release when nothing was merged), creates the GitHub release and deploys production from the tag. Nothing to click - by hand (Actions tab,
releaseworkflow) only for amajorbump, a dry run (dry_runprints the next version and the notes) or a rollback (tag). Edit the release notes on GitHub afterwards if needed. Publishing a release by hand from the GitHub ui deploys too - optional: run the
release emailworkflow by hand. It sends the notes of the GitHub release.dry_runistrueby default and only prints the email. Setting it tofalsesends a Resend broadcast toRESEND_AUDIENCE_ID. It never runs by itself and only repo admins and maintainers can run it
The notes list every PR merged since the last tag by title, grouped by its type:* label: type:feature under what is new, type:bug under fixes, then docs, maintenance and other. PR titles stay plain short descriptions, nothing has to be conventional. Below 1.0, bump minor for a milestone and patch for fixes in between.
Milestones and versions
Cut a release when a milestone is done:
| Version | Milestone |
|---|---|
v0.1.0 | foundation and hotel core |
v0.2.0 | messaging |
v0.3.0 | feedback and dashboard |
v1.0.0 | pilot launch |
Rollback
Run the release workflow by hand (Actions tab) with tag set to an older tag, for example v0.1.0. Nothing is released, it points the production compose service at that tag and redeploys. Database migrations are forward only: restore from a backup if a migration has to be undone.