mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Merge branch '3.1.x'
This commit is contained in:
commit
5e3bc0085a
@ -142,7 +142,7 @@ public abstract class UpgradeDependencies extends DefaultTask {
|
|||||||
if (new ProcessBuilder().command("git", "commit", "-m", commitMessage).start().waitFor() != 0) {
|
if (new ProcessBuilder().command("git", "commit", "-m", commitMessage).start().waitFor() != 0) {
|
||||||
throw new IllegalStateException("git commit failed");
|
throw new IllegalStateException("git commit failed");
|
||||||
}
|
}
|
||||||
System.out.println(" Commit: " + commitMessage.substring(commitMessage.indexOf('\n')));
|
System.out.println(" Commit: " + commitMessage.substring(0, commitMessage.indexOf('\n')));
|
||||||
}
|
}
|
||||||
catch (IOException ex) {
|
catch (IOException ex) {
|
||||||
throw new TaskExecutionException(this, ex);
|
throw new TaskExecutionException(this, ex);
|
||||||
|
Loading…
Reference in New Issue
Block a user