Class: GitUtils
- Inherits:
-
Object
- Object
- GitUtils
- Defined in:
- lib/jiraMule/gitUtils.rb
Class Method Summary collapse
Class Method Details
.getVersion ⇒ Object
5 6 7 8 |
# File 'lib/jiraMule/gitUtils.rb', line 5 def self.getVersion tag = `git for-each-ref --sort=taggerdate --format '%(refname)' refs/tags | head -1`.chomp return tag.split('/').last end |