Hello,
I'm getting the following error on version 3.0.0
Caused by: java.lang.IndexOutOfBoundsException: index is out of range 0..-1 (index = 0)
at com.cinnober.gradle.semver_git.SemverGitPlugin.getGitVersion(SemverGitPlugin.groovy:48)
on my repo because my git tag looks like
➜ ✗ git describe --tags --dirty --abbrev=7
v1.1.0
So there's no count or hash, so the regex match doesn't yield any results for count and hash.
What's the best course of action? This was on a RHEL 7 box.
Also, parseVersion also fails for v-prefixed versions like above. Is that intentional? Are tags without the v prefix recommended?
Thanks
Hello,
I'm getting the following error on version 3.0.0
on my repo because my git tag looks like
So there's no count or hash, so the regex match doesn't yield any results for count and hash.
What's the best course of action? This was on a RHEL 7 box.
Also,
parseVersionalso fails for v-prefixed versions like above. Is that intentional? Are tags without the v prefix recommended?Thanks