Skip to content

Commit

Permalink
Better handle pre-releases (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpio committed Feb 15, 2024
1 parent 681bbe2 commit 9c02ef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/bump-version.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
package_file = root / "package.json"

version_json = json.loads(version_file.read_text())
version = version_json["version"]
version = version_json["version"].replace("-alpha.", "a").replace("-beta.", "b").replace("-rc.", "rc")

package_json = json.loads(package_file.read_text())
package_json["version"] = version
Expand Down

0 comments on commit 9c02ef3

Please sign in to comment.