-
Notifications
You must be signed in to change notification settings - Fork 30
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
Trouble closing and releasing a library with the plugin #87
Comments
Is it a Gradle error or a body of the Nexus server response? Do you see any staging repositories when logged into https://s01.oss.sonatype.org/ after the Please paste (here or via Gist) publishing-related parts of the log at the info level ( Update. I changed the URL to Nexus - as you use |
This is a Gradle error, and it appears in the Gradle log.
Yes, I do. Closing them manually does work fine. Here are the publishing related parts of the Gradle log: https://gist.github.com/TheOnlyTails/232b974808594b7ff4553b346bfd58fa |
Thanks. The error suggests that the plugin has a problem with finding the initialized staging repository it should create before the artifacts upload. |
Thanks. It sheds light on the problem. I should confirm that, but from your original I understood that you do everything in the same Gradle call. Your last log suggests that it is not a case. Until #19 is implemented, please call Btw, if you prefer to inspect the staging repository before the release, please call |
Great. I'll go to sleep for now and try tomorrow. |
Looks like that's working, thanks! |
I also believe I've found the problem: I was using a |
|
Yes, my bad. |
Glad it hear, closing. |
When I after I publish my library to Nexus (using
publishAllPublicationsToSonatypeRepository
) and try to close the repo and release it using eithercloseAndReleaseSonatypeStagingRepository
,closeAndReleaseStagingRepository
, orcloseSonatypeStagingRepository
+releaseSonatypeStagingRepository
, I always get this error:What could be the cause of this?
Thanks so much!
I'm using version
1.0.0
of the plugin, and this is mybuild.gradle.kts
: https://gist.github.com/2dd5c1ef88fe5d1205e7c4954dbbb1a3The text was updated successfully, but these errors were encountered: