Command-line helper for Composer to bump versions similar to
npm version
.
Composer doesn't support a command to bump the version of your package easily. comver
was created to replicate the feature of npm version
to allow package publishers to quickly bump their package's version using semver.
It simply creates a new git commit and tag based on the type. (major
, minor
, or patch
).
$ npm i -g @tecdiary/comver
$ comver [major | minor | patch]
If you want to push your tags to remote repo, you will need to set push.followTags
to true
git config --global push.followTags true