class GitUtils

Public Class Methods

getVersion() click to toggle source
# 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