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