I tried making a public release of <https://github...
# questions
u
I tried making a public release of https://github.com/grails-plugins/grails-elasticsearch but there is some problem with artifact signing... Could someone take a look?
s
Is it on the 4.0.x branch? (default)?
u
yes
s
I am going to remove the v4.0.0 tag and try again to see if it's a permission issue
before I do so: the 4.0.x branch seems to be grailsVersion=5.3.4 🤔
u
yes, that is unchanged for now, after this release I will immediately start working on the grails 7 version
u
the plugin already works for grails 6, too
u
this state is reflected in the documentation
s
could be an issue with the GH secrets that are aligned for Grails 7 (and not previous versions)
u
oh, if that is the case and too much work I will skip the grails 5/6 release and try to port to 7
s
Tried to fix an issue in release.yml to see if that would help
It looks like it got past that issue
But failed on another issue... 🤔
I'm asking co-pilot
👌 1
j
It has access to these org level secrets, I am taking a look at the failure.
s
It was the build script that had errors, those are fixed now
j
Short answer: The findSonatypeStagingRepository Gradle task failed because 9 duplicate Sonatype staging repositories exist for org.grails.pluginselasticsearch4.0.0, and the task is designed to only operate when exactly one matches. The exact error Execution failed for task ':findSonatypeStagingRepository'.
Too many repositories found for stagingProfileId: org.grails,
descriptionRegex: \b\Qorg.grails.pluginselasticsearch4.0.0\E(\s|$). If some of the repositories are not needed, consider deleting them manually. The 9 leftover staging repos All with identical description org.grails.pluginselasticsearch4.0.0: State Repository ID open org.grails--0a96843e-9388-4536-9492-bcf3c22332ec open org.grails--771f42d7-92d2-4ad0-97cd-624883bab182 open org.grails--b0dad016-5a0a-484b-adf6-939a58ff86cf open org.grails--c6669a79-a83e-4fb0-8d37-e5ecca113954 closed org.grails--290c94fb-35cb-4319-828b-1a069b73402e closed org.grails--3b04b84b-7b7a-4c8f-8c5a-3d3af7c62d78 closed org.grails--5195ece5-23cf-4472-81e0-cf8ca02200d9 closed org.grails--828f6f61-2020-4fd5-849b-017c01ef391e closed org.grails--9a069d25-dbc2-40a1-9334-dc47307bd2ba
I will clean those up and rerun
s
Yes, I ended up clicking "publish" on the Sonatype website
Awesome. It should work OK next time?
s
Probably. Michel is doing a Grails 7.0.x upgrade to the plugin
We just wanted to have the community have a Grails 5.x+ version and he's going to see if the just released version works.
Thank you @James Fredley for looking into it 🙂
Another 5 minutes problem that took a couple of hours 😉
❤️ 2
u
The grails 7 version should be ready for review either tomorrow or sometime in the next week
🤗 2
u
the just released version is in use on our staging system and may go productive by the end of the month
partygrails 2
whee 1