From e76611eebe6a1d19d4068b7f9350cd70865dd163 Mon Sep 17 00:00:00 2001 From: Matthew Thompson Date: Mon, 14 Nov 2022 14:45:00 -0500 Subject: [PATCH] Add different print if delete push --- mepo.d/command/tag/push/push.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mepo.d/command/tag/push/push.py b/mepo.d/command/tag/push/push.py index 17db0bcd..975c2e1d 100644 --- a/mepo.d/command/tag/push/push.py +++ b/mepo.d/command/tag/push/push.py @@ -9,7 +9,10 @@ def run(args): for comp in comps2tagpush: git = GitRepository(comp.remote, comp.local) git.push_tag(args.tag_name,args.force,args.delete) - print(f'Pushed tag {args.tag_name} to {comp.name}') + if args.delete: + print(f'Pushed deleted tag {args.tag_name} to {comp.name}') + else: + print(f'Pushed tag {args.tag_name} to {comp.name}') def _get_comps_to_list(specified_comps, allcomps): comps_to_list = allcomps