| 1 | # Release checklist |
| 2 | |
| 3 | * Ensure CHANGELOG.md is updated |
| 4 | * Bump version by hand in: |
| 5 | * `package.json` (then `npm install` to sync `package-lock.json`) |
| 6 | * `src/htmx.js` |
| 7 | * `README.md` |
| 8 | * Ensure build is up to date: `npm install; npm build` |
| 9 | * Update SHA `npm run update-sha` (also writes version to `www/src/data/integrity.json`) |
| 10 | * Run Tests |
| 11 | * `npm run test:all` |
| 12 | * `npm run upgrade-check:test` |
| 13 | * Update website `npm run www:build` |
| 14 | * Commit all changes |
| 15 | * Tag `git tag vX.Y.Z` |
| 16 | * Push (including tags) |
| 17 | * `npm publish` |
| 18 | * Create github release with all dist assets: |
| 19 | ```bash |
| 20 | gh release create vX.Y.Z --title "vX.Y.Z" --notes-from-tag \ |
| 21 | dist/*.js dist/*.br dist/*.map dist/*.d.ts \ |
| 22 | dist/ext/*.js dist/ext/*.br dist/ext/*.map |
| 23 | ``` |
| 24 | * Announce |