@samitouri / QOSAMI-WSL / commits / f8c26f7c

fix: UnboundLocalError in create-release.py (#13499)

rodeka committed Sep 23, 2025 at 00:18 UTC f8c26f7c325e0bdd6857c42c210dd23faa69fa09
1 file changed +1 -1
tools/devops/create-release.py
+1 -1
@@ -56,7 +56,7 @@ def main(version: str, previous: str, max_message_lines: int, publish: bool, ass
56 issues = filter_github_issues(issues, github_token)
57
58 if len(issues) > 1:
59 - print(f'WARNING: found more than 1 github issues in message: {message}. Issues: {issues}', file=sys.stderr)
59 + print(f'WARNING: found more than 1 github issues in message: {e.message}. Issues: {issues}', file=sys.stderr)
60
61 message = e.message[:-1] if e.message.endswith('\n') else e.message
62