chore: add commit hash to error message in script/release_notes.py (#6944)

This PR adds a commit hash to the message that `script/release_notes.py`
prints when it can not find a PR number.
This commit is contained in:
Johan Commelin
2025-02-04 07:10:08 +01:00
committed by GitHub
parent b385949dd4
commit 412389f71f

View File

@@ -110,7 +110,7 @@ def main():
pr_number = check_pr_number(first_line)
if not pr_number:
sys.stderr.write(f"No PR number found in {first_line}\n")
sys.stderr.write(f"No PR number found in commit:\n{commit_hash}\n{first_line}\n")
continue
# Remove the first line from the full_message for further processing