commitNameBasedUpdateStrategy

Sets the strategy to be used to compute the version increment based on the commit messages since the last tag. The default strategy is to increment the patch version.

Parameters

strategy

a function that takes the list of commit messages since the last tag and returns the update type