afuno / app-release

A simple tool for updating the version of a Rails application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Documentation

Installation

gem 'app-release', require: false

Using

Create a version file

bundle exec app_release --init

Version 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.0

Version upgrade and git tag creation

bundle exec app_release --minor --create-git-tag

If 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 dev

If need to push after creation, then:

bundle exec app_release --minor --create-git-tag-for dev --git-push

About

A simple tool for updating the version of a Rails application

License:MIT License


Languages

Language:Ruby 100.0%