Skip to content

Commit f487b30

Browse files
authored
Fix bump version script (#29)
1 parent 9788f04 commit f487b30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/bump-version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
package_file = root / "package.json"
1717

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

2121
package_json = json.loads(package_file.read_text())
2222
package_json["version"] = version

0 commit comments

Comments
 (0)