Not allowing null entries for projects

This commit is contained in:
Marcin Grzejszczak
2018-08-02 13:58:52 +02:00
parent 4d29913917
commit 0e5d0735a6
2 changed files with 11 additions and 1 deletions

View File

@@ -164,6 +164,8 @@ public class SpringReleaser {
private ProjectsAndVersion projects(File project) {
ProjectVersion versionFromScRelease;
Projects projectsToUpdate;
log.info("Fetch from git [{}], meta release [{}]", this.properties.getGit().isFetchVersionsFromGit(),
this.properties.getMetaRelease().isEnabled());
if (this.properties.getGit().isFetchVersionsFromGit() && !this.properties.getMetaRelease().isEnabled()) {
printVersionRetrieval();
projectsToUpdate = this.releaser.retrieveVersionsFromSCRelease();