Releasy is a simple version number bumping and releasing tool written in PHP.
Releasy is a simple version number bumping and releasing tool written in PHP. The goal is to provide simple tracker of current release number and to provide a simple, one-command tool to bump release version numbers and push correctly tagged revisions into version control.
Currently only Git is supported. Releasy also currently assumes that all actual releases (tag+push) is done to master branch.
composer require belowaverage/releasy
Releasy works as a Composer vendor bin.
To init a project, run
vendor/bin releasy init <your version>.
If is omitted, default 0.0.0 will be used. Please use semver compliant version constraints.
To bump and release major/minor/patch version, make sure all your work is committed (or stashed) and then run
vendor/bin releasy major|minor|patch
This will increment the version and then it does the release (tag and push).
Surprisingly, this project is going to be maintained under the Semantic Versioning guidelines. Releases will be numbered with the following format:
Given a version number MAJOR.MINOR.PATCH, increment the:
- MAJOR version when you make incompatible API changes,
- MINOR version when you add functionality in a backwards-compatible manner, and
- PATCH version when you make backwards-compatible bug fixes.
This project is in initial development phase (0.y.z), expect a lot of changes.
Releasy is free software. See the LICENSE file for more information.