diff --git a/gradle/git.gradle b/gradle/git.gradle index 1d04f9b..6043d07 100644 --- a/gradle/git.gradle +++ b/gradle/git.gradle @@ -2,7 +2,7 @@ task gitRelease(dependsOn: build) << { grgit.add(patterns: ['.'], update: true) grgit.commit(message: "release of ${project.version}") - grgit.tag.remove(name: project.version) + grgit.tag.remove(names: [project.version]) grgit.tag.add(name: project.version) grgit.push() grgit.push(tags: true)