Fix ToDo: Method for always tagging second last

This commit is contained in:
erik 2023-04-19 12:34:38 +02:00
parent 55114f0075
commit 943cde3aeb

View file

@ -214,6 +214,10 @@ class GitApi():
'git', 'tag', '-a', annotation, '-m', message, f'HEAD~{count}')
return self.system_api.stdout
def tag_annotated_second_last(self, annotation: str, message:str):
self.tag_annotated(annotation, message, 1)
return self.system_api.stdout
def get_latest_tag(self):
self.system_api.run_checked('git', 'describe', '--tags', '--abbrev=0')
return self.system_api.stdout