From 785d8efd70e67e4f948dfd00635366a3f4554dc7 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Wed, 12 Jun 2019 15:54:12 +0200 Subject: [PATCH] [DEV] add git get all tags command --- island/commands.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/island/commands.py b/island/commands.py index 9922b95..b5b7f59 100644 --- a/island/commands.py +++ b/island/commands.py @@ -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