# Release Checklist

## Before releasing, does the project build cleanly?

```bash
# Make sure your main branch is up to date and all tests pass
git checkout main
git pull origin
bun install
bun run all
```

## Tag and publish

```bash
# Update CHANGELOG.md - for major/minor releases only

# These scripts prepare the files in the dist folder
bun run wikidata    # slow, about 10 minutes
bun run dist        # fast, version number updates automatically and will print to console

export VERSION=vA.B.C
git add . && git commit -m "$VERSION"
git tag "$VERSION"
git push origin main "$VERSION"
npm login    # if needed, session tokens last 2 hours
bun publish
```
