summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2019-09-25 17:54:37 +0200
committerFlorian Bruhin <me@the-compiler.org>2019-09-25 17:54:37 +0200
commit81b1e7b8a34768c8391b95a370d321b7caf5abc5 (patch)
treee38aa8734733ca9fd50079396c670eaca3ab48c9
parent0e96747300120a9c7a569ec72fc48d61d14cc563 (diff)
downloadqutebrowser-81b1e7b8a34768c8391b95a370d321b7caf5abc5.tar.gz
qutebrowser-81b1e7b8a34768c8391b95a370d321b7caf5abc5.zip
update_version: Improve release instructions
-rw-r--r--scripts/dev/update_version.py26
1 files changed, 13 insertions, 13 deletions
diff --git a/scripts/dev/update_version.py b/scripts/dev/update_version.py
index 4bf626881..8eb85081a 100644
--- a/scripts/dev/update_version.py
+++ b/scripts/dev/update_version.py
@@ -64,29 +64,29 @@ if __name__ == "__main__":
['x'])
print("Run the following commands to create a new release:")
- print("* Run `git push origin; git push origin v{v}`.".format(v=version))
+ print("* git push origin; git push origin v{v}".format(v=version))
if args.bump == 'patch':
- print("* Run `git checkout master && git cherry-pick v{v} && "
- "git push origin`.".format(v=version))
+ print("* git checkout master && git cherry-pick v{v} && "
+ "git push origin.".format(v=version))
else:
- print("* Run `git branch v{x} v{v}` && git push origin v{x}."
+ print("* git branch v{x} v{v} && git push origin v{x}"
.format(v=version, x=x_version))
print("* Create new release via GitHub (required to upload release "
"artifacts).")
- print("* Linux: Run `git checkout v{v} && "
- "./.venv/bin/python3 scripts/dev/build_release.py --upload`"
+ print("* Linux: git pull && git checkout v{v} && "
+ "./.venv/bin/python3 scripts/dev/build_release.py --upload"
.format(v=version))
- print("* Windows: Run `git checkout v{v}; "
+ print("* Windows: git pull && git checkout v{v}; "
"py -3 scripts\\dev\\build_release.py --asciidoc "
"C:\\Python27\\python "
- "%userprofile%\\bin\\asciidoc-8.6.10\\asciidoc.py --upload`."
+ "$env:userprofile\\bin\\asciidoc-8.6.10\\asciidoc.py --upload"
.format(v=version))
- print("* macOS: Run `git checkout v{v} && "
- "python3 scripts/dev/build_release.py --upload`."
+ print("* macOS: git pull && 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}`."
+ print(" - 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`")
+ print(" - git pull github master && sudo python3 "
+ "scripts/asciidoc2html.py --website /srv/http/qutebrowser")