semver4j icon indicating copy to clipboard operation
semver4j copied to clipboard

methods to increment suffix components

Open theshoeshiner opened this issue 3 years ago • 0 comments

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.

theshoeshiner avatar Apr 06 '21 15:04 theshoeshiner