From 3ba214f7bd94111a1d23cd49f38fe65e66de45a6 Mon Sep 17 00:00:00 2001 From: Christian Beikov Date: Fri, 14 Jun 2024 17:42:02 +0200 Subject: [PATCH] Fix empty git branch and remote value issues --- release/release.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/release.gradle b/release/release.gradle index 966404ed7c..f2ece1d684 100644 --- a/release/release.gradle +++ b/release/release.gradle @@ -240,7 +240,7 @@ def releaseChecksTask = tasks.register( "releaseChecks" ) { gitBranchLocal = executeGitCommand( 'branch', '--show-current' ).trim() } - if (project.hasProperty('gitRemote') && !project.hasProperty('gitRemote').isEmpty()) { + if (project.hasProperty('gitRemote') && !project.property('gitRemote').isEmpty()) { gitRemoteLocal = project.property('gitRemote') } else {