From 766ed3f2bf6af5a302f6c51ceb00c50cfde8a896 Mon Sep 17 00:00:00 2001 From: Andrea Boriero Date: Mon, 22 Jun 2020 14:47:58 +0100 Subject: [PATCH] HHH-14083 Fix issue with git command --- release/release.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/release.gradle b/release/release.gradle index 25fbfbcc75..ce90be61a6 100644 --- a/release/release.gradle +++ b/release/release.gradle @@ -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}' )