diff --git a/build.gradle b/build.gradle index c33d508..e56d9ff 100644 --- a/build.gradle +++ b/build.gradle @@ -16,7 +16,7 @@ plugins { id("java-library") id("maven-publish") id("org.jetbrains.kotlin.jvm") version "1.6.21" - id("net.researchgate.release") version "2.8.1" + id("net.researchgate.release") version "3.0.0" id("com.adarshr.test-logger") version "3.2.0" id("org.jetbrains.kotlin.plugin.spring") version "1.6.21" id("com.github.ben-manes.versions") version "0.42.0" @@ -84,6 +84,9 @@ dependencies { release { newVersionCommitMessage = "[Release Plugin] - next version commit: " tagTemplate = "release-\${version}" + git { + requireBranch.set('master') + } } // https://help.github.com/en/actions/language-and-framework-guides/publishing-java-packages-with-gradle#publishing-packages-to-github-packages