HHH-14083 Fix issue with git command

This commit is contained in:
Andrea Boriero 2020-06-22 14:47:58 +01:00
parent 4668466fd7
commit 766ed3f2bf
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ task releaseChecks() {
} }
logger.lifecycle( "Switching to branch '${project.gitBranch}'..." ) logger.lifecycle( "Switching to branch '${project.gitBranch}'..." )
executeGitCommand( 'switch', project.gitBranch ) executeGitCommand( 'checkout', project.gitBranch )
logger.lifecycle( "Checking that all commits are pushed..." ) logger.lifecycle( "Checking that all commits are pushed..." )
String diffWithUpstream = executeGitCommand( 'diff', '@{u}' ) String diffWithUpstream = executeGitCommand( 'diff', '@{u}' )