bumpify-cli extends npm version patch/minor/major with additional automation:
- ✅ Updates
package.json(likenpm version) - ✅ Creates/updates
public/version.jsonautomatically - ✅ Commits & tags the changes in Git
Install bumpify-cli globally to use it in any project:
npm install -g bumpify-cliRun bumpify just like npm version:
bumpify version patch
bumpify version minor
bumpify version major- The version in
package.jsonis updated. - The new version is written to
public/version.json. - The changes are committed (
git commit -m "Bump version to X.X.X"). - A Git tag is created (
git tag vX.X.X).
bumpify version patch💡 Updates from 1.0.0 → 1.0.1
bumpify version minor💡 Updates from 1.0.0 → 1.1.0
bumpify version major💡 Updates from 1.0.0 → 2.0.0
| Feature | npm version |
bumpify-cli |
|---|---|---|
Updates package.json |
✅ Yes | ✅ Yes |
Creates/updates public/version.json |
❌ No | ✅ Yes |
| Commits the changes | ✅ Yes | ✅ Yes |
| Creates a Git tag | ✅ Yes | ✅ Yes |
If you ever need to remove bumpify-cli:
npm uninstall -g bumpify-cliMIT License © Antonio Budiselić
We welcome contributions! To contribute:
- Fork the repo
- Create a new branch (
git checkout -b feature-branch) - Commit your changes (
git commit -m "Added feature XYZ") - Push to the branch (
git push origin feature-branch) - Create a PR 🚀
If you found bumpify-cli helpful, please star this repo ⭐ on GitHub and share your feedback!
For issues or feature requests, open an issue here.
🚀 Happy versioning with bumpify-cli! 🚀