Skip to content

Commit

Permalink
Bumping major version should reset minor to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
Almad committed Dec 28, 2017
1 parent b454dc9 commit 5c9aa2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pavement.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ def bump(args):

if len(args) > 0 and args[0] == 'major':
version[1] += 1
version[2] = 0
else:
version[2] += 1

Expand Down

0 comments on commit 5c9aa2b

Please sign in to comment.