scripts: Push to experimental repo if on experiments CI
This commit is contained in:
parent
27164d0d6e
commit
3eeeaa5b48
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue