CLI command to make releases of your semantic versioned project a breeze.
Running project release
in the root of your project:
- updates and
release
anddevelopment
(if present) branches from all remotes - merges
development
branch withrelease
(again, ifdevelopment
is present) - tags project with next
patch
version (which is the default one,major
andminor
are also available) - pushes both branches and tags to all remotes
Please, refer to Usage section for more commands and examples.
Currently branches are not configurable:
- development is
develop
- release is
master
Add this line to your application's Gemfile:
gem 'project_releaser'
And then execute:
$ bundle install
project [command]
--help Print help
Available commands:
version
Current production version of the projectname
Project nameupdate
Updates master and develop branches from all reomtesrelease
Merges develop into master and pushes master with new version
By default it releases next patch
version of the project. To set specific version use (major
, minor
or patch
) argument
project release major
You can also release an exact version
project release 7.10.5
- Configurable branches
- Notifications on release (i.e. to Slack)
- Improve logs