timbertson / autorelease-tagger-action

Generate & tag versions based on git history
3 stars 4 forks source link

coerce defaultBump to always be within minBump / maxBump #4

Closed timbertson closed 3 years ago

timbertson commented 3 years ago

If defaultBump is outside minBump / maxBump, the action will usually fail. While this could be a misconfiguration (user error), it's far more likely to be due to the combination of a defaultBump intended for main / master, paired with a versionTemplate on a particular branch.

When there is an explicit value configured, it'll log the difference to reduce surprises.