Closed mrt181 closed 9 months ago
There are a few issues here:
distance == 0
and else
cases use stage
even though it may be None
tagged_metadata
is not checked for being None
bump = true
, but you're also manually calling bump_version
or calculating revision + 1
, so it's bumped twiceelif revision is not none
case as well?Is that -s.t.a...
output possibly from before you wrapped stage/revision in []
? With your current config, I would expect the output to be 1.1.2-None+None
.
yes was able to fix it, thank you
When following semver when versioning my project I create tags that match this regex:
semver.org#regex
This pattern is not supported because we need to use predefined capture group names.
I have changed the regex to get the groups that the plugin supports, but it's not perfect.
regex101.com
I have this config
And this history:
When I check the version I get this which is unexpected.
How can I fix this?