mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Merge pull request #44273 from ClickHouse/fix-mark-release-ready
Get rid of global Git object
This commit is contained in:
commit
1b4859ff54
@ -32,8 +32,6 @@ from version_helper import (
|
||||
|
||||
RELEASE_READY_STATUS = "Ready for release"
|
||||
|
||||
git = Git()
|
||||
|
||||
|
||||
class Repo:
|
||||
VALID = ("ssh", "https", "origin")
|
||||
@ -79,7 +77,7 @@ class Release:
|
||||
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]
|
||||
|
Loading…
Reference in New Issue
Block a user