Open josephh opened 2 years ago
Had the same issue yesterday but managed to fix it by pruning local tags that didn't exist on remote: git fetch origin --prune --prune-tags
Saw this issue again today - on a different repo but couldn't remember how i fixed it previously 😭
- Exception is: java.lang.NullPointerException: Cannot invoke method split() on null object at net.vivin.gradle.versioning.VersionUtils.incrementVersion(VersionUtils.groovy:227)
As a reminder of the problem (in our case at least) and how to remedy bodge it,
% git tag
0.1.0
settings.gradle
we include the plugin.semantic-build-versioning.gradle
there is the autobump property and instructions; there is also an entry startingVersion = '0.1.0'
. git tag -a 0.1.1
and then it builds ok... 😕 0.1.1
but if i remove it, the problem recurs 😒
Running,
in settings.gradle I have,
and in my code repo i have a tag,
but when i run
I get a build failure,