- Update new version in
tsm4j/build.gradle
andREADME.md
- Delete the old
tsm4j/build
directory if any, and create a new version locallyrm -r tsm4j/build ./gradlew publishTsm4jPublicationToMavenRepository
:note: If you see
> Cannot perform signing task ':tsm4j:signTsm4jPublication' because it has no configured signatory
This means you do not have the right settings in
~/.gradle/gradle.properties
, i.e.signing.keyId
,signing.password
, andsigning.secretKeyRingFile
. For me, this probably means I am not running the command in my wsl2 ubuntu. - Zip the release files
cd tsm4j/build/repos/releases zip release.zip ./com/tsm4j/tsm4j/1.1.0/* cd -
- Open https://central.sonatype.com/publishing
- sign in (continue with google)
- upload
- wait for validation
- publish