summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/changelog.asciidoc2
-rw-r--r--scripts/dev/update_version.py8
2 files changed, 7 insertions, 3 deletions
diff --git a/doc/changelog.asciidoc b/doc/changelog.asciidoc
index 990848774..02d6e6422 100644
--- a/doc/changelog.asciidoc
+++ b/doc/changelog.asciidoc
@@ -32,7 +32,7 @@ Added
* `hints.padding` to add additional padding for hints.
* `hints.radius` to set a border radius for hints (set to `3` by default).
- New placeholders for `url.searchengines` values:
- * `{unquoted}` inserts the search term without any quoting
+ * `{unquoted}` inserts the search term without any quoting.
* `{semiquoted}` (same as `{}`) quotes most special characters, but slashes
remain unquoted.
* `{quoted}` (same as `{}` in earlier releases) also quotes slashes.
diff --git a/scripts/dev/update_version.py b/scripts/dev/update_version.py
index f6cc2c27b..13bd3d776 100644
--- a/scripts/dev/update_version.py
+++ b/scripts/dev/update_version.py
@@ -52,11 +52,15 @@ if __name__ == "__main__":
parser.add_argument('bump', action="store",
choices=["major", "minor", "patch"],
help="Update release version")
+ parser.add_argument('--commands', action="store_true",
+ help="Only show commands to run post-release.")
args = parser.parse_args()
utils.change_cwd()
- bump_version(args.bump)
- show_commit()
+
+ if not args.commands:
+ bump_version(args.bump)
+ show_commit()
import qutebrowser
version = qutebrowser.__version__