@tecdiary/comver
v1.0.14
Published
Command-line helper for PHP/Composer to bump versions similar to npm version.
Downloads
15
Readme
comver (composer version)
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
).
Install
$ npm i -g @tecdiary/comver
Usage
$ comver [major | minor | patch]
Set to push tags
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