Closed menathan closed 2 months ago
Next to a git.tags.prefix config, also add a git.tags.suffix config option.
git.tags.prefix
git.tags.suffix
Example for .semverbot.toml:
.semverbot.toml
[git.tags] suffix = "-my-cool-suffix"
Expected result:
<semver>-my-cool-suffix e.g. 0.3.1-my-cool-suffix
<semver>-my-cool-suffix
0.3.1-my-cool-suffix
Correct me if I'm wrong, but doesn't semver have specific suffixes that can be used?
Yes, see https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string. Examples: https://regex101.com/r/Ly7O1x/3/
Worth looking into IMO :)
I'll have a crack at it :)
Fixed in #77
Next to a
git.tags.prefix
config, also add agit.tags.suffix
config option.Example for
.semverbot.toml
:Expected result:
<semver>-my-cool-suffix
e.g.0.3.1-my-cool-suffix