From e95db34befc9be6e90c322a1f801b9f048c88671 Mon Sep 17 00:00:00 2001 From: Guillaume Vincent Date: Tue, 25 Jan 2022 21:58:13 +0100 Subject: [PATCH] Update bump version script --- bin/bump_version.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/bump_version.py b/bin/bump_version.py index 26fbaf5..1650770 100644 --- a/bin/bump_version.py +++ b/bin/bump_version.py @@ -83,8 +83,8 @@ if __name__ == "__main__": "--no-commit-hooks", ] ) + version = get_package_version(package) if package == "lesspass-web-extension": - version = get_package_version(package) set_version( os.path.join(root_path, "packages", package, "extension", "manifest.json"), version, @@ -93,6 +93,6 @@ if __name__ == "__main__": subprocess.run(["yarn", "workspace", "lesspass-pure", "build"]) subprocess.run(["yarn", "workspace", "lesspass-web-extension", "build"]) subprocess.run(["git", "add", "."]) - tag = f"{package_short_name}-v{version}" - subprocess.run(["git", "commit", "-a", "-m", tag]) - subprocess.run(["git", "tag", tag]) + tag = f"{package_short_name}-v{version}" + subprocess.run(["git", "commit", "-a", "-m", tag]) + subprocess.run(["git", "tag", tag])