Skip to content

Commit c012ba8

Browse files
authored
[release-tagging] Fix git config ssh command to grant push permission on Prow (#3191)
1 parent 1c7dd64 commit c012ba8

File tree

1 file changed

+1
-1
lines changed
  • buildSrc/src/main/java/com/google/firebase/gradle/bomgenerator/tagging

1 file changed

+1
-1
lines changed

buildSrc/src/main/java/com/google/firebase/gradle/bomgenerator/tagging/GitClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ private void configureSshCommand() {
9999
+ " -o IdentitiesOnly=yes"
100100
+ " -o UserKnownHostsFile=/dev/null"
101101
+ " -o StrictHostKeyChecking=no";
102-
String command = String.format("git config core.sshCommand %s", ssh);
102+
String command = String.format("git config core.sshCommand \"%s\"", ssh);
103103
executor.execute(command, handler);
104104
}
105105
}

0 commit comments

Comments
 (0)