Promote upload to aggregating workflow step
@@ -48,34 +48,38 @@ public class Workflows {
));
}
- public static Workflow prepare(JReleaserContext context) {
+ public static Workflow release(JReleaserContext context) {
return new WorkflowImpl(context, Arrays.asList(
new ChangelogWorkflowItem(),
new ChecksumWorkflowItem(),
- new PrepareWorkflowItem()
+ new SignWorkflowItem(),
+ new ReleaseWorkflowItem()
));
}
- public static Workflow packageRelease(JReleaserContext context) {
+ public static Workflow prepare(JReleaserContext context) {
return new WorkflowImpl(context, Arrays.asList(
new ChangelogWorkflowItem(),
new ChecksumWorkflowItem(),
- new PackageWorkflowItem()
+ new PrepareWorkflowItem()
));
}
- public static Workflow release(JReleaserContext context) {
+ public static Workflow packageRelease(JReleaserContext context) {
return new WorkflowImpl(context, Arrays.asList(
new ChangelogWorkflowItem(),
new ChecksumWorkflowItem(),
- new SignWorkflowItem(),
- new ReleaseWorkflowItem()
+ new PrepareWorkflowItem(),
+ new PackageWorkflowItem()
));
}
public static Workflow upload(JReleaserContext context) {
return new WorkflowImpl(context, Arrays.asList(
new ChangelogWorkflowItem(),
+ new ChecksumWorkflowItem(),
+ new PrepareWorkflowItem(),
+ new PackageWorkflowItem(),
new UploadWorkflowItem()
));
}
