-
Notifications
You must be signed in to change notification settings - Fork 3
Release Process
mvoutov edited this page Mar 24, 2026
·
2 revisions
Step-by-step process for publishing a new version of aspens.
cd aspens
npm testcr review --plainFix any findings before proceeding.
Pick the right bump:
- patch (0.2.0 → 0.2.1) — bug fixes, small improvements
- minor (0.2.0 → 0.3.0) — new features
- major (0.2.0 → 1.0.0) — breaking changes
Edit package.json version field directly, or:
npm version patch --no-git-tag-version
npm version minor --no-git-tag-version
npm version major --no-git-tag-versiongit add -A
git commit -m "v0.2.1: description of changes"
git push origin your-branchgh pr create --base main --title "v0.2.1: description" --body "## Summary
- change 1
- change 2
## Test plan
- [x] npm test passes
- [x] tested on a real repo
"git checkout main
git pull
git tag v0.2.1
git push origin v0.2.1Create GitHub release:
gh release create v0.2.1 --title "v0.2.1" --generate-notesOr with custom notes:
gh release create v0.2.1 --title "v0.2.1" --notes "- Fixed CLAUDE.md retry logic
- Added vendored code exclusion
- Subdirectory tsconfig resolution"npm publishIf not logged in:
npm login
npm whoami # verify
npm publishnpm view aspens
npx aspens@latest --helpCheck these for anything affected by the release:
- README.md — commands table, options tables, examples
- Wiki pages — Architecture, Common Recipes, Roadmap, How Aspens Works
- CLAUDE.md — quick reference, architecture section
cd /tmp && git clone https://github.com/aspenkit/aspens.wiki.git
# edit pages...
cd /tmp/aspens.wiki && git add -A && git commit -m "docs: update wiki for vX.Y.Z" && git pushRun a review on uncommitted changes:
cr review --plainIn PR comments on GitHub:
-
@coderabbitai review— request a re-review -
@coderabbitai resolve— mark a suggestion as resolved -
@coderabbitai summary— regenerate the summary
# Full release flow (after PR merges)
git checkout main && git pull
git tag v0.2.1 && git push origin v0.2.1
gh release create v0.2.1 --title "v0.2.1" --generate-notes
npm publish