scripts: Add --commands to update_version
This commit is contained in:
parent
ce5ca98c59
commit
5e06b00474
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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__
|
||||
|
|
|
|||
Loading…
Reference in New Issue