diff --git a/build.gradle b/build.gradle index dc0694f..d78a690 100644 --- a/build.gradle +++ b/build.gradle @@ -190,7 +190,7 @@ publishing { task checkReleasePreconditions { doLast { - def REQUIRED_GIT_BRANCH = 'develop' + def REQUIRED_GIT_BRANCH = 'HEAD' def currentGitBranch = 'git rev-parse --abbrev-ref HEAD'.execute().text.trim() assert currentGitBranch == REQUIRED_GIT_BRANCH, "Must be on the $REQUIRED_GIT_BRANCH branch in order to release to Sonatype" }