We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 880092b commit 47837fdCopy full SHA for 47837fd
scripts/release/is-hotfix-release.py
@@ -9,7 +9,7 @@
9
def get_merge_base_of_ref() -> str:
10
cp = run(["git", "merge-base", "HEAD", "origin/main"], capture_output=True, text=True)
11
if cp.returncode != 0:
12
- raise RuntimeError("Failed to get merge base")
+ raise RuntimeError(f"Failed to get merge base with reason '{cp.stderr.strip()}'")
13
return cp.stdout.strip()
14
15
def get_release_branches_containing(commit: str) -> List[Version]:
0 commit comments