Browse Source

Update bump version script

tags/web-extension-v9.6.6
Guillaume Vincent 2 years ago
parent
commit
e95db34bef
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      bin/bump_version.py

+ 4
- 4
bin/bump_version.py View File

@@ -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])

Loading…
Cancel
Save