auto-version-gitflow
v1.0.5
Published
This Node.js script automatically updates the version in your package.json file, commits the change, creates a Git tag for this new version, and pushes both the commit and tags to your remote repository. It's designed to streamline the process of version
Downloads
56
Readme
Auto Version and Tag Script for Node.js
This script automates the process of incrementing the version in your package.json
file, committing the change, creating a Git tag, and pushing both the commit and tags to your remote repository. It's ideal for Node.js projects where consistent versioning and tagging are crucial.
Features
- Automatic Version Increment: Increments the patch version in
package.json
. - Git Commit and Tag: Commits the updated
package.json
and creates a corresponding Git tag. - Push to Remote: Pushes the commit and tags to the remote Git repository.
Usage
Place the script in your project's root directory.
Run the script using Node.js:
npm i auto-version-gitflow --save-dev auto-version-gitflow ./package.json