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) - release-please keeps one release PR open on
main. It bumps the version, writesCHANGELOG.mdand thereleaseworkflow draftsdocs/releases/<version>.mdinto it (user facing list from merged PR titles, plus avideos:list to fill) - edit the notes in the release PR, then merge it. That tags the release and deploys production from the tag
- optional: run the
release emailworkflow by hand.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
Commit types decide the bump while we are below 1.0: feat bumps minor, fix bumps patch.
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 |
Force a version by adding a Release-As: 1.0.0 line to the body of a commit on main.
Rollback
Run the release workflow by hand (Actions tab) with an older tag, for example v0.1.0. 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.
Known limit
release-please only reads conventional squash subjects. Merge subjects here are plain PR titles plus (#n), so a release PR opens only after a merge whose title starts with feat: or fix:. To force one, merge a PR titled feat: <what shipped> (or chore: release 0.1.0 with a Release-As: 0.1.0 footer).