Skip to content

Commit

Permalink
fix: Respect the local_required bool.
Browse files Browse the repository at this point in the history
  • Loading branch information
iphydf committed Nov 13, 2024
1 parent 40e0b27 commit b6c1651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/check_release
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def main(prog: str, args: List[str]) -> None:
print(f"\nFAIL: Next GitHub Milestone release {ms_release} does not "
f"match {local_origin} {local_release}")
sys.exit(1)
if pr_release and pr_release != local_release:
if local_required and pr_release and pr_release != local_release:
print(f"\nFAIL: PR milestone {pr_release} does not match "
f"{local_origin} {local_release}")
sys.exit(1)
Expand Down

0 comments on commit b6c1651

Please sign in to comment.