Skip to content

Commit 3ba214f

Browse files
committed
Fix empty git branch and remote value issues
1 parent f0112a9 commit 3ba214f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

release/release.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ def releaseChecksTask = tasks.register( "releaseChecks" ) {
240240
gitBranchLocal = executeGitCommand( 'branch', '--show-current' ).trim()
241241
}
242242

243-
if (project.hasProperty('gitRemote') && !project.hasProperty('gitRemote').isEmpty()) {
243+
if (project.hasProperty('gitRemote') && !project.property('gitRemote').isEmpty()) {
244244
gitRemoteLocal = project.property('gitRemote')
245245
}
246246
else {

0 commit comments

Comments
 (0)