Skip to content

Commit

Permalink
Stop defaulting patch to true
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljoseph committed Oct 25, 2013
1 parent 79361ee commit d958a9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion changes/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def current_version(app_name):


def get_new_version(app_name, current_version, no_input,
major=False, minor=False, patch=True):
major=False, minor=False, patch=False):

proposed_new_version = increment(
current_version,
Expand Down
3 changes: 2 additions & 1 deletion tests/test_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def test_get_new_version(self):
version.get_new_version(
self.module_name,
'0.0.1',
minor=True
True,
minor=True,
)
)

0 comments on commit d958a9f

Please sign in to comment.