Skip to content

Commit

Permalink
Add different print if delete push
Browse files Browse the repository at this point in the history
  • Loading branch information
mathomp4 committed Nov 14, 2022
1 parent 670ef8b commit e76611e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mepo.d/command/tag/push/push.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e76611e

Please sign in to comment.