TBD54566975 / web5-kt

Apache License 2.0
10 stars 10 forks source link

Honor Sonatype Publishing rules #300

Closed ALRubinger closed 5 months ago

ALRubinger commented 5 months ago

In closing the Sonatype staging repo for release, honor rules as noted in this failed build:

https://github.com/TBD54566975/web5-kt/actions/runs/8594832951/job/23548645066#step:5:1677

ALRubinger commented 5 months ago

For errors of type:

Error:      * No public key: Key with id: (4ca6b792c4f48116) was not able to be located on <a href=https://keys.openpgp.org/>https://keys.openpgp.org/</a>. Upload your public key and try the operation again.

I have uploaded the public key we use to sign releases, verifiable here: https://keys.openpgp.org/search?q=293D005E4DAF68D5A31A96F44CA6B792C4F48116

This can be verified here by email address releases@tbd.email: https://keys.openpgp.org/search?q=releases%40tbd.email

ALRubinger commented 5 months ago

The other type of error here is this:

Error:    Rule "javadoc-staging" failures
Error:      * Missing: no javadoc jar found in folder '/xyz/block/web5-dids/1.0.0'
Error:      * Missing: no javadoc jar found in folder '/xyz/block/web5-common/1.0.0'
Error:      * Missing: no javadoc jar found in folder '/xyz/block/web5-credentials/1.0.0'
Error:      * Missing: no javadoc jar found in folder '/xyz/block/web5-crypto/1.0.0'
Error:      * Missing: no javadoc jar found in folder '/xyz/block/web5-testing/1.0.0'
Error:      * Missing: no javadoc jar found in folder '/xyz/block/web5-jose/1.0.0'

Note that the Gradle build had these files, but empty:

image

So I'll need to generate some -javadoc.jar files for the artifacts, even though we publish API Docs uniformly through the Dev Site and hosted by gh-pages.

ALRubinger commented 5 months ago

Honored.

image