Skip to content

Commit

Permalink
Merge pull request #2 from mrtonyg/master
Browse files Browse the repository at this point in the history
ValueError on version increment
  • Loading branch information
gregular authored Jun 16, 2017
2 parents b2dfd40 + d42112c commit 2ab99e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/make_load_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,9 @@ def _do_my_tweak(old_line):
offset = old_line.find("=")
assert offset >= 0
value = old_line[offset + 1:].strip()
major, minor = split_version_string(value)
major, minor, patch = split_version_string(value)
minor += 1
version = "%d.%d" % (major, minor)
version = "%d.%d.%d" % (major, minor, patch)
logging.debug(
"Fix Version - increment from {} to {}".format(value, version))

Expand Down

0 comments on commit 2ab99e8

Please sign in to comment.