-
Notifications
You must be signed in to change notification settings - Fork 29
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
ERROR: Staging repository is not in desired state |closed| #106
Comments
@szpak Could you please take a look? |
@nhajratw There seems to be something on the Nexus side that prevents the repository to be closed. Have you checked that staging repository in the Nexus UI? There should be mentioned a reason (from the log I suspect you didn't configure artifacts signing properly). |
I was able to find the staging repository "logs" (not how i expected it to be rendered) and then had to add some additional configuration. I think it would be helpful if this info was added to the readme. I will create a PR to document the bits I needed. |
@nhajratw So what's the cause of your issue? I'm observing the same symptoms: https://github.com/bozaro/git-lfs-java/runs/3256511416?check_suite_focus=true#step:4:92 |
@slonopotamus you have to look at the logs to find the cause. I created a PR #108 that describes how to do this. Looks like it hasn't been merged yet. |
You mean, I have to configure signing? |
@slonopotamus i mean you have to look at the logs to see what the problem is... |
It is weird, but in my case the problem was happening because I was not changing the |
Running
./gradlew publishToSonatype closeSonatypeStagingRepository --info
results in the following error:build.gradle.kts is as follows:
Environment:
Any ideas?
The text was updated successfully, but these errors were encountered: