Now should work; fixes gh-96
This commit is contained in:
@@ -28,10 +28,11 @@ class ReleaserPropertiesUpdater {
|
||||
this.context = context;
|
||||
}
|
||||
|
||||
void updateProperties(ReleaserProperties properties, File clonedProjectFromOrg) {
|
||||
ReleaserProperties updateProperties(ReleaserProperties properties, File clonedProjectFromOrg) {
|
||||
ReleaserProperties props = updatePropertiesFromFile(properties, clonedProjectFromOrg);
|
||||
log.info("Updated properties [\n\n{}\n\n]", props);
|
||||
updateProperties(props);
|
||||
return props;
|
||||
}
|
||||
|
||||
void updateProperties(ReleaserProperties props) {
|
||||
|
||||
@@ -71,9 +71,9 @@ public class SpringReleaser {
|
||||
|
||||
private void processProjectForMetaRelease(ReleaserProperties copy, Options options, String project) {
|
||||
log.info("Original properties [\n\n{}\n\n]", copy);
|
||||
this.updater.updateProperties(copy);
|
||||
File clonedProjectFromOrg = this.releaser.clonedProjectFromOrg(project);
|
||||
updatePropertiesIfCustomConfigPresent(copy, clonedProjectFromOrg);
|
||||
ReleaserProperties updatedProps = updatePropertiesIfCustomConfigPresent(copy, clonedProjectFromOrg);
|
||||
this.updater.updateProperties(updatedProps);
|
||||
log.info("Successfully cloned the project [{}] to [{}]", project, clonedProjectFromOrg);
|
||||
try {
|
||||
processProject(options, clonedProjectFromOrg, TaskType.RELEASE);
|
||||
@@ -90,9 +90,9 @@ public class SpringReleaser {
|
||||
return copy;
|
||||
}
|
||||
|
||||
private void updatePropertiesIfCustomConfigPresent(ReleaserProperties copy,
|
||||
private ReleaserProperties updatePropertiesIfCustomConfigPresent(ReleaserProperties copy,
|
||||
File clonedProjectFromOrg) {
|
||||
this.updater.updateProperties(copy, clonedProjectFromOrg);
|
||||
return this.updater.updateProperties(copy, clonedProjectFromOrg);
|
||||
}
|
||||
|
||||
private List<String> metaReleaseProjects(Options options) {
|
||||
|
||||
Reference in New Issue
Block a user