2.2 KiB
2.2 KiB
| name | description |
|---|---|
| release | Cut and ship a Series of Tubes release (patch or minor) from main via the auto-release workflow. |
Releasing Series of Tubes
Bumping version in package.json on main is the release button. The
auto-release.yml workflow tests, tags v<version>, publishes a GitHub release with
that version's CHANGELOG section as notes, and dispatches release.yml, which deploys
to GitHub Pages (https://seriesoftub.es).
Pick the version
- Patch (
x.y.Z): fixes, small tweaks, wording, icons. - Minor (
x.Y.0): new features or content.
Steps
- Make sure
mainis green:npm testandnode scripts/i18n-check.js("0 missing, 0 unused, 0 broken"). - In
CHANGELOG.md, move the bullets from## [Unreleased]into a new section right below it:## [x.y.z] — YYYY-MM-DD(em dash, today's date). Keep an empty## [Unreleased]heading above it. The build fails if the section has no bullets. - Bump the version in both files:
package.json→"version"package-lock.json→ top-level"version"andpackages[""].version
npm testonce more.- Commit on
mainas Frederic, with no attribution trailers:git -c user.name="Frederic Jung" -c user.email="frederic@jc-ix.net" commit \ --author="Frederic Jung <frederic@jc-ix.net>" -m "Short summary (x.y.z)" git push origin main - Watch the workflows until both finish:
gh run list --repo fjaeckel/seriesoftubes --limit 4 gh run watch <id> --repo fjaeckel/seriesoftubes - Confirm it is live:
https://seriesoftub.es/version.jsonshows the new version.
Release notes rules
- Written for players, in plain English. One bullet per change, issue numbers like
(#37). - Never mention hidden easter eggs or explain jokes.
- No internal function names.
If something fails
- "not newer than the latest release": the version was not bumped, or was bumped backwards.
- "CHANGELOG.md has no notes under ## [x.y.z]": the heading doesn't match the version exactly or has no bullets.
- Tests fail in the workflow but pass locally: look for unseeded randomness in a test.
- Fix forward with a new patch version; never move or delete an existing tag.