Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor publish scripts to avoid staging errors #64

Open
secondsun opened this issue Jul 26, 2021 · 0 comments
Open

Refactor publish scripts to avoid staging errors #64

secondsun opened this issue Jul 26, 2021 · 0 comments

Comments

@secondsun
Copy link
Contributor

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
andreaTP pushed a commit to andreaTP/app-services-sdk-java that referenced this issue Jan 19, 2023
…nd-refresh

extend refresh time for the operator to reduce unneded calls to the API
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant