release: added init

This commit is contained in:
rkiel
2017-09-19 21:44:55 -04:00
parent a1cc5f7cd5
commit ee817d2230
4 changed files with 40 additions and 1 deletions

View File

@@ -39,6 +39,14 @@ module Shared
run_cmd "git branch -D #{branch}"
end
def git_local_tag ( tag )
run_cmd "git tag -a 'v#{tag}' -m 'v#{tag}'"
end
def git_local_list_tags
`git tag -l 'v*'`.strip.split(/\s+/)
end
def git_prune
run_cmd "git remote prune origin"
end