Skip to content

Commit c319620

Browse files
committed
Disable major in semver-bump script
1 parent 3f2b739 commit c319620

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

scripts/semver-bump

+1-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ def bump_version(version, bump_type):
88
major, minor, patch = map(int, version.split("."))
99

1010
if bump_type == "major":
11-
major += 1
12-
minor = 0
13-
patch = 0
11+
raise Exception("Major bump not supported -- do this by hand")
1412
elif bump_type == "minor":
1513
minor += 1
1614
patch = 0

0 commit comments

Comments
 (0)