diff options
author | Florian Bruhin <me@the-compiler.org> | 2019-07-16 09:37:23 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2019-07-16 10:47:06 +0200 |
commit | 032669d49ffd795fb72d1f0f1cd476fed2e9c68e (patch) | |
tree | 7b165954017898bef2047538f4202257fb5e1b4d | |
parent | 3c91dddd79b2524a8c5484c4e1f087a0f613579c (diff) | |
download | qutebrowser-032669d49ffd795fb72d1f0f1cd476fed2e9c68e.tar.gz qutebrowser-032669d49ffd795fb72d1f0f1cd476fed2e9c68e.zip |
update_version: Use sys.executable
-rw-r--r-- | scripts/dev/update_version.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/dev/update_version.py b/scripts/dev/update_version.py index e159c603d..96e659236 100644 --- a/scripts/dev/update_version.py +++ b/scripts/dev/update_version.py @@ -18,6 +18,7 @@ # You should have received a copy of the GNU General Public License # along with qutebrowser. If not, see <http://www.gnu.org/licenses/>. +import sys import argparse import datetime import os.path @@ -40,7 +41,8 @@ def bump_version(version_leap="patch"): version_leap: define the jump between versions ("major", "minor", "patch") """ - subprocess.run(['bump2version', version_leap], check=True) + subprocess.run([sys.executable, '-m', 'bumpversion', version_leap], + check=True) def read_appdata(): |