We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ee76c0 commit 3607da8Copy full SHA for 3607da8
1 file changed
version.gradle
@@ -39,7 +39,7 @@ buildscript {
39
mavenCentral()
40
}
41
dependencies {
42
- classpath 'org.ajoberstar:gradle-git:1.2.0'
+ classpath 'org.ajoberstar:gradle-git:1.6.0'
43
44
45
@@ -140,7 +140,7 @@ task configureVersionInfo {
140
if (project.hasProperty("tag_name")) {
141
jmeGitTag = project.getProperty("tag_name")
142
} else {
143
- jmeGitTag = grgit.tag.list().find { it.commit == head }
+ jmeGitTag = grgit.tag.list().find { it.commit == head }?.name
144
145
146
def releaseInfo = getReleaseInfo(jmeGitTag)
0 commit comments