Push tags in release_mixin

This commit is contained in:
bom 2023-06-16 15:09:53 +02:00
parent a71d5ef547
commit 8be3145e23
2 changed files with 4 additions and 1 deletions

View file

@ -48,7 +48,7 @@ class ReleaseService:
release.build_files(),
bump_message,
)
self.git_api.push()
self.git_api.push_follow_tags()
def __set_version_and_commit__(
self, version: Version, build_file_ids: List[str], message: str

View file

@ -198,6 +198,9 @@ class GitApi:
def push(self):
return self.execution_api.execute("git push")
def push_follow_tags(self):
return self.execution_api.execute("git push --follow-tags")
def checkout(self, branch: str):
return self.execution_api.execute(f"git checkout {branch}")