Release skill: CI tests and benchmarks a release, so don't run them locally
This commit is contained in:
parent
b405bf78fc
commit
0ad36c2178
1 changed files with 4 additions and 5 deletions
|
|
@ -65,17 +65,16 @@ gh api repos/fjaeckel/seriesoftubes/releases/latest --jq '.tag_name+" "+.publish
|
||||||
|
|
||||||
## Steps
|
## Steps
|
||||||
|
|
||||||
1. Make sure `main` is green: `npm test` and `node scripts/i18n-check.js`
|
1. Don't run the test suite, the game or benchmarks before a release: CI and the
|
||||||
("0 missing, 0 unused, 0 broken").
|
auto-release workflow test it, and the Performance workflow benchmarks it. Just
|
||||||
|
check that the latest CI run on `main` is green (`gh run list --repo fjaeckel/seriesoftubes --limit 4`).
|
||||||
2. In `CHANGELOG.md`, move the bullets from `## [Unreleased]` into a new section
|
2. 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
|
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.
|
`## [Unreleased]` heading above it. The build fails if the section has no bullets.
|
||||||
3. Bump the version in **both** files:
|
3. Bump the version in **both** files:
|
||||||
- `package.json` → `"version"`
|
- `package.json` → `"version"`
|
||||||
- `package-lock.json` → top-level `"version"` and `packages[""].version`
|
- `package-lock.json` → top-level `"version"` and `packages[""].version`
|
||||||
4. `npm test` once more.
|
4. (Nothing to run here: the workflow tests the release before it tags it.)
|
||||||
Then compare performance with the previous release and mention anything notable to Frederic:
|
|
||||||
`npm run perf -- --base-ref v<last>`.
|
|
||||||
5. Commit on `main` as Frederic, with no attribution trailers:
|
5. Commit on `main` as Frederic, with no attribution trailers:
|
||||||
```bash
|
```bash
|
||||||
git -c user.name="Frederic Jung" -c user.email="frederic@jc-ix.net" commit \
|
git -c user.name="Frederic Jung" -c user.email="frederic@jc-ix.net" commit \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue