From 5c668487efb57cbe372e5f8138d0205d7ac71519 Mon Sep 17 00:00:00 2001 From: Harshil Sanjay Jain Date: Mon, 5 Aug 2024 14:18:57 -0400 Subject: [PATCH] Update the github ref to tags instead of head --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' }