diff options
author | Florian Bruhin <me@the-compiler.org> | 2021-04-13 12:48:51 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2021-04-13 12:48:51 +0200 |
commit | 9aa8740ec95e147116ec7d868ac2f3bb2e8259be (patch) | |
tree | 7ad9168d038e0f15493318328167c012f7a7bb27 /scripts | |
parent | f67e1d663d61339a7fcb6e0bee0e62d8bba8a3f7 (diff) | |
download | qutebrowser-9aa8740ec95e147116ec7d868ac2f3bb2e8259be.tar.gz qutebrowser-9aa8740ec95e147116ec7d868ac2f3bb2e8259be.zip |
scripts: Add --no-confirm to build_release
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/dev/build_release.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/dev/build_release.py b/scripts/dev/build_release.py index f53656695..4b0e2f072 100755 --- a/scripts/dev/build_release.py +++ b/scripts/dev/build_release.py @@ -617,6 +617,8 @@ def main(): nargs='?') parser.add_argument('--upload', action='store_true', required=False, help="Toggle to upload the release to GitHub.") + parser.add_argument('--no-confirm', action='store_true', required=False, + help="Skip confirmation before uploading.") parser.add_argument('--skip-packaging', action='store_true', required=False, help="Skip Windows installer/zip generation.") parser.add_argument('--32bit', action='store_true', required=False, @@ -665,8 +667,10 @@ def main(): if args.upload: version_tag = "v" + qutebrowser.__version__ - utils.print_title("Press enter to release {}...".format(version_tag)) - input() + + if not args.no_confirm: + utils.print_title("Press enter to release {}...".format(version_tag)) + input() github_upload(artifacts, version_tag, gh_token=gh_token) if upload_to_pypi: |