Skip to content

Commit b5bc7fb

Browse files
committed
Fix empty git branch and remote value issues
1 parent 3a19d22 commit b5bc7fb

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
@@ -232,7 +232,7 @@ def releaseChecksTask = tasks.register( "releaseChecks" ) {
232232
gitBranchLocal = executeGitCommand( 'branch', '--show-current' ).trim()
233233
}
234234

235-
if (project.hasProperty('gitRemote') && !project.hasProperty('gitRemote').isEmpty()) {
235+
if (project.hasProperty('gitRemote') && !project.property('gitRemote').isEmpty()) {
236236
gitRemoteLocal = project.property('gitRemote')
237237
}
238238
else {

0 commit comments

Comments
 (0)