Remove redundant method

This commit is contained in:
erik 2023-03-02 12:47:27 +01:00
parent 8855a2c6b6
commit 5700b42098

View file

@ -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}')