Push tags in release_mixin
This commit is contained in:
parent
a71d5ef547
commit
8be3145e23
2 changed files with 4 additions and 1 deletions
|
@ -48,7 +48,7 @@ class ReleaseService:
|
||||||
release.build_files(),
|
release.build_files(),
|
||||||
bump_message,
|
bump_message,
|
||||||
)
|
)
|
||||||
self.git_api.push()
|
self.git_api.push_follow_tags()
|
||||||
|
|
||||||
def __set_version_and_commit__(
|
def __set_version_and_commit__(
|
||||||
self, version: Version, build_file_ids: List[str], message: str
|
self, version: Version, build_file_ids: List[str], message: str
|
||||||
|
|
|
@ -197,6 +197,9 @@ class GitApi:
|
||||||
|
|
||||||
def push(self):
|
def push(self):
|
||||||
return self.execution_api.execute("git push")
|
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):
|
def checkout(self, branch: str):
|
||||||
return self.execution_api.execute(f"git checkout {branch}")
|
return self.execution_api.execute(f"git checkout {branch}")
|
||||||
|
|
Loading…
Reference in a new issue