remove meta release option for post release only

This commit is contained in:
Ryan Baxter
2024-05-31 16:54:19 -04:00
parent 008343ff3a
commit f9cfaf7a3b
2 changed files with 5 additions and 2 deletions

View File

@@ -211,7 +211,9 @@ class SpringBatchFlowRunner implements FlowRunner, Closeable {
@Override
public ExecutionResult runReleaseTasks(Options options, ReleaserProperties properties, ProjectsToRun projectsToRun,
TasksToRun tasksToRun) {
if (properties.isPostReleaseTasksOnly() && options.metaRelease) {
// TODO this seems to not be exclusive to meta releases
if (properties.isPostReleaseTasksOnly()/** && options.metaRelease */
) {
log.info("Only post release tasks will be executed for the meta release");
return ExecutionResult.skipped();
}

View File

@@ -60,7 +60,8 @@ public class CreateProjectReleaseBundlePostReleaseTask implements ProjectPostRel
@Override
public ExecutionResult runTask(Arguments args) throws BuildUnstableException, RuntimeException {
return this.releaser.createReleaseBundle(args.properties.isCommercial(), args.versionFromBom, args.options.dryRun);
return this.releaser.createReleaseBundle(args.properties.isCommercial(), args.versionFromBom,
args.options.dryRun);
}
@Override