scripts: Push to experimental repo if on experiments CI

This commit is contained in:
Florian Bruhin 2024-06-11 22:14:44 +02:00
parent 27164d0d6e
commit 3eeeaa5b48
1 changed files with 2 additions and 1 deletions

View File

@ -683,7 +683,8 @@ def main() -> None:
parser.add_argument('--qt5', action='store_true', required=False,
help="Build against PyQt5")
parser.add_argument('--experimental', action='store_true', required=False,
help="Upload to experiments repo and test PyPI")
default=os.environ.get("GITHUB_REPOSITORY") == "qutebrowser/experiments",
help="Upload to experiments repo and test PyPI. Set automatically if on qutebrowser/experiments CI.")
args = parser.parse_args()
utils.change_cwd()