Easing semver constraint on releasing modules from Bamboo

I’d suggest that 1.5.13-1 is at least a syntactically valid SemVer. Of course, the script would still fail on that, but we could updated it to use the SemVer recommended regex:

^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
1 Like