Skip to content
/ gitv Public

Yet another gem for versioning based on git tags.

License

Notifications You must be signed in to change notification settings

rbld/gitv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gem Version Build Status Build Status

gitv is yet another gem for versioning based on git tags.

Installation

Run

gem install gitv

Usage

From shell:

gitv

From ruby code:

gitv = GitV.new(src_root, version_file) # src_root defaults to PWD
                                        # version_file defaults to PWD/lib/data/version
gitv.version # Retrieve version (either from git tags or cached)
gitv.cache   # Cache version number and return cache file name

See also gitv.gemspec for usage example.


This gem is licensed under the Apache License, Version 2.0.
See LICENSE for the full license text.

About

Yet another gem for versioning based on git tags.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages