semver4j
semver4j copied to clipboard
methods to increment suffix components
Given that the code already includes some integer logic for suffix components, it makes sense to allow consumers to increment those components via the api. This can be done by specifying an index for the component, and an optional amount to increment by. The code attempts to follow the same standards as other increment methods. Tests included.