We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 728b117 commit 67c69edCopy full SHA for 67c69ed
exasol/toolbox/nox/_release.py
@@ -160,9 +160,9 @@ def run(*args: str):
160
raise ReleaseError(f"failed to execute command {args}") from ex
161
162
branches = run("git", "remote", "show", "origin")
163
- if not (default_branch := re.search(r"HEAD branch: (\S+)", branches)):
+ if not (result := re.search(r"HEAD branch: (\S+)", branches)):
164
raise ReleaseError("default branch could not be found")
165
- default_branch = default_branch.group(1)
+ default_branch = result.group(1)
166
167
run("git", "checkout", default_branch)
168
run("git", "pull")
0 commit comments