-
Notifications
You must be signed in to change notification settings - Fork 9
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
Run sonatypeClose
when a sonatype error is detected
#18
Comments
Do you have any thoughts on this @xerial? |
I don't have much idea about this issue, but the default behavior of sbt-sonatype is trying to update the previously opened stagingRepositoryId (e.g., An approach for making sure the correspondence between uploaded artifacts and stagingProfileIds would be explicitly specifying a profile name: Disclaimer: This workflow is from a contributor and I'm not actively using this feature. |
Thank you for chiming in @xerial! The description of this issue is vague is because I haven't had time to isolate all the moving parts at play, but I've got indeed weird behaviors from
The only issue I see with this approach is that the argument that The issue I report here seems unrelated to this sbt-sonatype step-by-step workflow. |
This has happened several times in the CI. When a build has not yet run
I think that the best behaviour here would be to reuse the most recently opened repository instead of filing because |
It is often the case that when a repository fails to close or promote, the repository is still open. Next time
sbt-sonatype
runs a release, two things can happen:sonatypeRelease
will later on fail.It is not obvious to identify that this is happening and it can be frustrating. As a result, for the sanity of the users,
sbt-release-early
should runsonatypeDrop
after a repository is open and fails to be published.The text was updated successfully, but these errors were encountered: