Fixed the order of message printing

This commit is contained in:
Marcin Grzejszczak
2017-04-24 15:41:32 +02:00
parent 2131efcdc4
commit dcc018c112

View File

@@ -80,13 +80,13 @@ public class SpringReleaser {
).flatMap(List::stream).collect(Collectors.toList());
public void release() {
log.info(buildOptionsText().toString());
printVersionRetreival();
String workingDir = this.properties.getWorkingDir();
File project = new File(workingDir);
ProjectVersion originalVersion = new ProjectVersion(project);
Projects projects = this.releaser.retrieveVersionsFromSCRelease();
ProjectVersion versionFromScRelease = projects.forFile(project);
log.info(buildOptionsText().toString());
int chosenOption = chosenOption();
log.info("\n\n\nYou chose [{}]: [{}]\n\n\n", chosenOption, ALL_TASKS.get(chosenOption).description);
boolean verbose = chosenOption == 1;