Fix ToDo: Method for always tagging second last
This commit is contained in:
parent
55114f0075
commit
943cde3aeb
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue