App Release for Rails
A simple tool for updating the version of a Rails application.
This library was implemented to simplify project versioning. With this tool can store, quickly create and push tags.
Installation
gem 'app-release', require: falseUsing
Create a version file
bundle exec app_release --initVersion upgrade
# Original version: 2.4.6
bundle exec app_release --patch # => 2.4.7
bundle exec app_release --minor # => 2.5.0
bundle exec app_release --major # => 3.0.0Version upgrade and git tag creation
bundle exec app_release --minor --create-git-tagIf need to create a tag in a specific directory, then need to use the following command:
bundle exec app_release --minor --create-git-tag-for devIf need to push after creation, then:
bundle exec app_release --minor --create-git-tag-for dev --git-push