This project uses vMAJOR.MINOR.PATCH Git tags. Before version 1.0,
minor versions may contain breaking changes; call those changes out prominently
in the release notes.
Use release labels on merged pull requests:
release: breakingfor incompatible behavior or configuration.release: featurefor new capabilities.release: fixfor bug and security fixes.release: maintenancefor documentation, tests, dependencies, and tooling.skip-changelogfor changes that should not appear in generated notes.
-
Start from an up-to-date, clean
mainbranch. -
Choose the next version and move entries from Unreleased into a dated changelog section.
-
Update
package.jsonandpackage-lock.jsonto the same version. -
Run
npm ci,npm run db:migrate:local, andnpm run check. -
Back up production D1 when a release includes a migration, then apply pending migrations before deploying Worker code that depends on them.
-
Merge the release preparation pull request.
-
Create and push an annotated tag:
git tag -a v0.1.0 -m "Release v0.1.0" git push origin v0.1.0 -
Create a GitHub release from that tag, use the automatically generated notes as a starting point, and verify deployment instructions before publishing.
Prereleases may use identifiers such as v0.2.0-beta.1. Do not create
a release tag until the commit it names has been pushed and passed CI.