Skip to content

Separate release repository task #1130

@matejdro

Description

@matejdro

Currently, only way to trigger Maven central repository release is automatically, using automaticRelease = true. Is there any way to add an option to trigger this "manually"?

We would like to have a 2 step process:

  1. Upload all libraries to Maven Central (this includes several different gradle projects, all calling publishAllPublicationsToMavenCentralRepository task)
  2. Release staging repository on Maven Central all at once

The problem with having step 1 automatically release is that some projects could fail and some could succeed. This would result in a partially released maven central artifact. Ideally, if any of the uploads would fail in the step 1, the step 2 would not even be reached, so libraries would not actually be released.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions