fix version incrementing

prior to this change, if you tried to do a major version bump on 1.1.5,
the result would be 2.1.5 instead of the expected 2.0.0