Skip to content

Commit 0789191

Browse files
committed
Improve SOURCE_URI error message for beta 1
1 parent 481b8e5 commit 0789191

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

run_release.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,10 @@ def check_pyspecific(db: ReleaseShelf) -> None:
533533
f"SOURCE_URI = 'https://github.com/python/cpython/tree/{expected_branch}/%s'"
534534
)
535535
if expected != line.strip():
536-
raise ReleaseException("SOURCE_URI is incorrect")
536+
raise ReleaseException(
537+
f"SOURCE_URI is incorrect, expected: {expected}, got: {line.strip()} "
538+
"(it needs changing before beta 1)"
539+
)
537540

538541

539542
def bump_version(db: ReleaseShelf) -> None:

0 commit comments

Comments
 (0)