Sha256: 25073760ce5a7837278b03757318269ff56920f70fe0bdb34f6b29e121ae01ce
Contents?: true
Size: 437 Bytes
Versions: 6
Compression:
Stored size: 437 Bytes
Contents
class GitHelper def tagTo version puts "Tagging version to: " + version begin cmd = "git tag -f " + version exec( cmd ) puts "Version tagged" rescue puts "Problem to generate tag on git" end end def push puts "Pushing tag to Git " begin cmd = "git push --tags" exec( cmd ) puts "Tag pushed" rescue puts "Problem to push tag on git" end end end
Version data entries
6 entries across 6 versions & 2 rubygems