Fix empty git branch and remote value issues
This commit is contained in:
parent
3a19d2210a
commit
b5bc7fb8bb
|
@ -232,7 +232,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 {
|
||||
|
|
Loading…
Reference in New Issue