Skip to content

Commit 8470e69

Browse files
committed
Fix patch bump
1 parent 610633d commit 8470e69

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/gitolog/build.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ def bump(version, part='patch'):
1212
pre = ''
1313
if len(patch) > 1:
1414
patch, pre = patch
15+
else:
16+
patch = patch[0]
1517
if part == 'major':
1618
major = str(int(major) + 1)
1719
minor = patch = '0'

0 commit comments

Comments
 (0)