diff --git a/build.gradle b/build.gradle index ee31d1c8..1afc3236 100644 --- a/build.gradle +++ b/build.gradle @@ -26,7 +26,7 @@ if (System.getenv('CI')) { defaultTasks 'build', 'publish' releaseBuild = System.getenv('GITHUB_ACTIONS_PULL_REQUEST') == '' && - System.getenv('GITHUB_REF').startsWith("refs/head/release/"); + System.getenv('GITHUB_REF').startsWith("refs/tags/release/"); } else { defaultTasks 'build', 'publishToMavenLocal' }