mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Add check_prerequisites to release.py
This commit is contained in:
parent
1e1f1081f6
commit
ef3cbdcf6a
@ -78,7 +78,15 @@ class Release:
|
||||
self._git.update()
|
||||
self.version = get_version_from_repo()
|
||||
|
||||
def check_prerequisites(self):
|
||||
"""
|
||||
Check tooling installed in the system
|
||||
"""
|
||||
self.run("gh auth status")
|
||||
self.run("git status")
|
||||
|
||||
def do(self, check_dirty: bool, check_branch: bool, with_prestable: bool):
|
||||
self.check_prerequisites()
|
||||
|
||||
if check_dirty:
|
||||
logging.info("Checking if repo is clean")
|
||||
|
Loading…
Reference in New Issue
Block a user