HHH-14083 Fix issue with git command

This commit is contained in:
Andrea Boriero 2020-06-22 14:47:58 +01:00
parent c62674c28d
commit 4cf9591501
1 changed files with 1 additions and 1 deletions

View File

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