Skip to content

Commit 8d2c7a6

Browse files
committed
Github Action: Fix version increase
1 parent 6b65573 commit 8d2c7a6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/incrementVersionName.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ def increment(versionName, severity):
2929
(major, minor, patch) = versionName.split('.')
3030
if severity == 'M':
3131
major = str(int(major) + 1)
32+
minor = "0"
33+
patch = "0"
3234
elif position == 'm':
3335
minor = str(int(minor) + 1)
36+
patch = "0"
3437
else:
3538
patch = str(int(patch) + 1)
3639

0 commit comments

Comments
 (0)