restechnica / semverbot

A CLI which automates semver versioning.
Mozilla Public License 2.0
136 stars 7 forks source link

Update support for tag prefixes #59

Closed talios closed 9 months ago

talios commented 9 months ago

It turns out the blang/semver only supports prefixes of 'v' when called with ParseTolerant so semverbot needs to handle remapping or trimming that correctly before passing into semver.

This commit updates the API struct to carry the configured Prefix and passes it down to the lower level implementation functions.

Fixes #58