Skip to content

Refactor publish scripts to avoid staging errors #64

@secondsun

Description

@secondsun

For example see : https://github.com/redhat-developer/app-services-sdk-java/actions/runs/1067025281

Currently we release all of our artifacts to maven central and close the staging repository. Sometimes closing fails even though the artifacts were uploaded successfully. This is caused by a timeout from the Sonatype systems. Because some artifacts are released, they can't be released again and the script fails.

We would like to have a way to recover from this state. As a current workaround we are releasing a minor version which includes all artifacts.

Fixes can include

  1. Updating the release script to check if an artifact already exists
  2. Removing the auto close from the pom and closing manually
  3. Modularizing the releases so we can release per artifact instead of releasing all artifacts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions