diff --git a/gradle/git.gradle b/gradle/git.gradle index c34dab3..1d04f9b 100644 --- a/gradle/git.gradle +++ b/gradle/git.gradle @@ -2,6 +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.add(name: project.version) grgit.push() grgit.push(tags: true)