Sha256: ef7eb142cdabd02584564b5b4777ca5a682456370955f46b0e5790ce38b49051
Contents?: true
Size: 545 Bytes
Versions: 1
Compression:
Stored size: 545 Bytes
Contents
require 'cart_logger' class GitHelper def tagTo version CartLogger.logInfo "Tagging version to: " + version begin cmd = "git tag -f " + version exec( cmd ) CartLogger.logInfo "Version tagged" rescue CartLogger.logError "Problem to generate tag on git" end end def push CartLogger.logInfo "Pushing tag to Git " begin cmd = "git push --tags" exec( cmd ) CartLogger.logInfo "Tag pushed" rescue CartLogger.logError "Problem to push tag on git" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cartup-0.1.6 | lib/git_helper.rb |