chore: add build number and release scripts
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-05-12 20:52:35 -05:00
parent e7b74c827a
commit 7b1b5d0f6c
3 changed files with 23 additions and 0 deletions
+16
View File
@@ -22,6 +22,22 @@ npm run dev # local dev server
npm run build # type-check + production build
```
## Releases
The footer build number comes from Woodpecker's pipeline number and increments on each CI build.
The package version is an intentional release label.
Use one of these from a clean worktree when you are ready to cut a release:
```sh
npm run release:patch # fixes, typo corrections, small polish
npm run release:minor # meaningful playable additions or mechanics
npm run release:major # disruptive changes after 1.0.0
git push --follow-tags
```
Each release script updates `package.json` and `package-lock.json`, creates a release commit, and tags it.
## Layout
- `src/engine/` — parser, dispatcher, encounter logic