Skip to content

Commit 703c948

Browse files
authored
Merge pull request pytest-dev#6916 from nicoddemus/no-link-checks
Skip link checks when doing releases through the bot
2 parents 2eedf9c + b1b8ea7 commit 703c948

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/release-on-comment.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,9 @@ def trigger_release(payload_path: Path, token: str) -> None:
126126

127127
print(f"Branch {Fore.CYAN}{release_branch}{Fore.RESET} created.")
128128

129-
check_call([sys.executable, "scripts/release.py", version])
129+
check_call(
130+
[sys.executable, "scripts/release.py", version, "--skip-check-links"]
131+
)
130132

131133
oauth_url = f"https://{token}:[email protected]/{SLUG}.git"
132134
check_call(["git", "push", oauth_url, f"HEAD:{release_branch}", "--force"])

0 commit comments

Comments
 (0)