Updates the Release Train table in Spring project

fixes gh-93
This commit is contained in:
Marcin Grzejszczak
2018-10-18 15:27:12 +02:00
parent a9945f2df3
commit 9d8235e310
82 changed files with 3271 additions and 152 deletions

View File

@@ -76,8 +76,9 @@ class ReleaserConfiguration {
}
@Bean
DocumentationUpdater documentationUpdater(ReleaserProperties properties, ProjectGitHandler handler) {
return new DocumentationUpdater(properties, handler);
DocumentationUpdater documentationUpdater(ProjectGitHandler projectGitHandler,
ReleaserProperties properties) {
return new DocumentationUpdater(projectGitHandler, properties);
}
@Bean

View File

@@ -71,6 +71,12 @@ class Tasks {
args -> {
args.releaser.updateDocumentationRepository(args.properties, args.versionFromScRelease);
},TaskType.POST_RELEASE);
static Task UPDATE_SPRING_PROJECT_PAGE = task("updateSpringProjectPage", "up",
"UPDATE SPRING PROJECT PAGE",
"Updating Spring Project page",
args -> {
args.releaser.updateSpringProjectPage(args.projects);
},TaskType.POST_RELEASE);
static final List<Task> DEFAULT_TASKS_PER_PROJECT = Stream.of(
Tasks.UPDATING_POMS,
@@ -87,7 +93,8 @@ class Tasks {
static final List<Task> DEFAULT_TASKS_PER_RELEASE = Stream.of(
Tasks.CREATE_TEMPLATES,
Tasks.UPDATE_GUIDES,
Tasks.UPDATE_DOCUMENTATION
Tasks.UPDATE_DOCUMENTATION,
Tasks.UPDATE_SPRING_PROJECT_PAGE
).collect(Collectors.toList());
static final List<Task> NON_COMPOSITE_TASKS = new ArrayList<Task>() {