Works fine

This commit is contained in:
Marcin Grzejszczak
2017-03-07 13:13:01 +01:00
parent 2d29748049
commit 3b9f40fd75
6 changed files with 25 additions and 82 deletions

View File

@@ -15,8 +15,6 @@
*/
package org.springframework.cloud.release;
import static org.slf4j.LoggerFactory.getLogger;
import java.io.File;
import java.lang.invoke.MethodHandles;
@@ -27,6 +25,8 @@ import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.release.internal.ProjectUpdater;
import static org.slf4j.LoggerFactory.getLogger;
@SpringBootApplication
public class ReleaserApplication implements CommandLineRunner {
@@ -44,5 +44,6 @@ public class ReleaserApplication implements CommandLineRunner {
log.info("Press any key to continue...");
System.in.read();
this.projectUpdater.updateProject(new File(workingDir));
System.exit(0);
}
}