Skip to content

Commit

Permalink
Fix missing . in the JS version (#1614)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpio authored Jun 27, 2022
1 parent 9c4f339 commit 840e6ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/post-bump.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def main():
py_version = project.get("current")

# set the JS version
js_version = py_version.replace("a", "-alpha").replace("b", "-beta").replace("rc", "-rc").replace(".dev", "-dev")
js_version = py_version.replace("a", "-alpha.").replace("b", "-beta.").replace("rc", "-rc.").replace(".dev", "-dev.")
package_json = json.loads(PACKAGE_JSON.read_text(**ENC))
package_json["version"] = js_version
PACKAGE_JSON.write_text(json.dumps(package_json, indent=2), **ENC)
Expand Down

0 comments on commit 840e6ab

Please sign in to comment.