[DEV] add git get all tags command

This commit is contained in:
Edouard DUPIN 2019-06-12 15:54:12 +02:00
parent 1f3959499c
commit 785d8efd70

View File

@ -172,6 +172,13 @@ def get_tags_current(path_repository):
generic_display_error(return_value, "get_tags_current", error_only=True)
return return_value[1].split('\n')
def get_tags(path_repository):
cmd = "git tag"
debug.verbose("execute : " + cmd)
return_value = multiprocess.run_command(cmd, cwd=path_repository)
generic_display_error(return_value, "get_tags", error_only=True)
return return_value[1].split('\n')
def get_tracking_branch(path_repository, remote_name, select_branch):
# get tracking branch