|
|
|
@ -203,11 +203,6 @@ class GitApi():
|
|
|
|
|
output = self.get_latest_n_commits(1)
|
|
|
|
|
return " ".join(output)
|
|
|
|
|
|
|
|
|
|
def tag_annotated(self, annotation: str, message: str):
|
|
|
|
|
self.system_repository.run_checked(
|
|
|
|
|
'git', 'tag', '-a', annotation, '-m', message)
|
|
|
|
|
return self.system_repository.stdout
|
|
|
|
|
|
|
|
|
|
def tag_annotated(self, annotation: str, message: str, count: int):
|
|
|
|
|
self.system_repository.run_checked(
|
|
|
|
|
'git', 'tag', '-a', annotation, '-m', message, f'HEAD~{count}')
|
|
|
|
|