Skip to content

Commit

Permalink
Backport #44273 to 22.12: Get rid of global Git object
Browse files Browse the repository at this point in the history
  • Loading branch information
robot-clickhouse committed Dec 15, 2022
1 parent a0138a2 commit 7a338ab
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/ci/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@

RELEASE_READY_STATUS = "Ready for release"

git = Git()


class Repo:
VALID = ("ssh", "https", "origin")
Expand Down Expand Up @@ -79,7 +77,7 @@ def __init__(
self.release_commit = release_commit
assert release_type in self.BIG + self.SMALL
self.release_type = release_type
self._git = git
self._git = Git()
self._version = get_version_from_repo(git=self._git)
self._release_branch = ""
self._rollback_stack = [] # type: List[str]
Expand Down

0 comments on commit 7a338ab

Please sign in to comment.