diff options
author | Florian Bruhin <me@the-compiler.org> | 2019-07-18 11:36:09 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2019-07-18 11:36:09 +0200 |
commit | af6a9c6b4c482f747745a1db1a48ca6ed72ab248 (patch) | |
tree | 6fe87219fbdcb020cf579084c4d63be78554ed0e | |
parent | 91a5e0d09861f842eb40b58d27305bd8c9f1fa4d (diff) | |
download | qutebrowser-af6a9c6b4c482f747745a1db1a48ca6ed72ab248.tar.gz qutebrowser-af6a9c6b4c482f747745a1db1a48ca6ed72ab248.zip |
update_version: Fix output
-rw-r--r-- | scripts/dev/update_version.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/dev/update_version.py b/scripts/dev/update_version.py index 037181651..98e7771e3 100644 --- a/scripts/dev/update_version.py +++ b/scripts/dev/update_version.py @@ -39,8 +39,8 @@ def bump_version(version_leap="patch"): version_leap: define the jump between versions ("major", "minor", "patch") """ - subprocess.run([sys.executable, '-m', 'bumpversion', version_leap], - check=True) + subprocess.run([sys.executable, '-m', 'bumpversion', '--verbose', + version_leap], check=True) if __name__ == "__main__": @@ -57,25 +57,25 @@ if __name__ == "__main__": version = qutebrowser.__version__ print("Run the following commands to create a new release:") - print("* Run `git push origin; git push {v}`.".format(v=version)) + print("* Run `git push origin; git push v{v}`.".format(v=version)) print("* If committing on minor branch, cherry-pick release commit to " "master.") print("* Create new release via GitHub (required to upload release " "artifacts).") - print("* Linux: Run `git checkout {v} && " + print("* Linux: Run `git checkout v{v} && " "./.venv/bin/python3 scripts/dev/build_release.py --upload`" .format(v=version)) - print("* Windows: Run `git checkout {v}; " + print("* Windows: Run `git checkout v{v}; " "py -3 scripts\\dev\\build_release.py --asciidoc " "C:\\Python27\\python " "%userprofile%\\bin\\asciidoc-8.6.10\\asciidoc.py --upload`." .format(v=version)) - print("* macOS: Run `git checkout {v} && " + print("* macOS: Run `git checkout v{v} && " "python3 scripts/dev/build_release.py --upload`." .format(v=version)) print("* On server:") - print("- Run `python3 scripts/dev/download_release.py v{v}`." + print("- Run `python3 scripts/dev/download_release.py {v}`." .format(v=version)) print("- Run `git pull github master && sudo python3 " "scripts/asciidoc2html.py --website /srv/http/qutebrowser`") |