Skip to content

Commit e1a3a8e

Browse files
committed
Pull request create part 2
1 parent 25547af commit e1a3a8e

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

tests/tck-build-logic/src/main/java/org/graalvm/internal/tck/ContributionTask.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -368,11 +368,15 @@ private void createPullRequest(Map<PullRequestInfo, Object> info) {
368368
invokeCommand("git add .", "Cannot add changes");
369369

370370
InteractiveTaskUtils.printUserInfo("Committing changes");
371-
String output = invokeCommand("git", List.of("commit", "-m", "Add metadata for " + coordinates), "Cannot commit changes", null);
372-
System.out.println(output);
371+
invokeCommand("git", List.of("commit", "-m", "Add metadata for " + coordinates), "Cannot commit changes", null);
373372

374373
// InteractiveTaskUtils.printUserInfo("Pushing changes");
375-
// invokeCommand("git push origin " + branch, "Cannot push to origin");
374+
// String output = invokeCommand("git push origin " + branch, "Cannot push to origin");
375+
//
376+
// List<String> outputLines = List.of(output.split("\n"));
377+
// for (var line : outputLines) {
378+
//
379+
// }
376380
}
377381

378382
private void writeToFile(Path path, String content, StandardOpenOption writeOption) throws IOException {

0 commit comments

Comments
 (0)