Skip link checks when doing releases through the bot

Unfortunately this is really getting in the way of the releases not because
of broken links, but because it is very flaky.

Related: #6894
This commit is contained in:
Bruno Oliveira 2020-03-13 10:27:07 -03:00
parent 2eedf9c2aa
commit b1b8ea765e
1 changed files with 3 additions and 1 deletions

View File

@ -126,7 +126,9 @@ def trigger_release(payload_path: Path, token: str) -> None:
print(f"Branch {Fore.CYAN}{release_branch}{Fore.RESET} created.")
check_call([sys.executable, "scripts/release.py", version])
check_call(
[sys.executable, "scripts/release.py", version, "--skip-check-links"]
)
oauth_url = f"https://{token}:x-oauth-basic@github.com/{SLUG}.git"
check_call(["git", "push", oauth_url, f"HEAD:{release_branch}", "--force"])