Skip to content
This repository was archived by the owner on May 30, 2023. It is now read-only.

Intellection/versioning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Versioning

Adds versioning to a Rails application

Installation

Add this line to your application's Gemfile:

gem 'versioning'

And then execute:

$ bundle

Or install it yourself as:

$ gem install versioning

Usage

Create config/version.txt file with the initial version

  0.0.1

Running rake -T will list available tasks

...
rake version:bump_major                 # bump local major version
rake version:bump_minor                 # bump local minor version
rake version:bump_patch                 # bump local patch
rake version:github:bump_major          # bump local and github major versions
rake version:github:bump_minor          # bump local and github minor versions
rake version:github:bump_patch          # bump local and github patch versions
rake version:update_from_remote         # update localversion with last remote version

Tagging releases

$ git tag 0.0.1
$ git push --tags

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages