Skip to content

Latest commit

 

History

History
executable file
·
27 lines (25 loc) · 958 Bytes

DEVELOPMENT.md

File metadata and controls

executable file
·
27 lines (25 loc) · 958 Bytes

Development

Publish New Version

  1. Update new version in tsm4j/build.gradle and README.md
  2. Delete the old tsm4j/build directory if any, and create a new version locally
    rm -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, and signing.secretKeyRingFile. For me, this probably means I am not running the command in my wsl2 ubuntu.

  3. Zip the release files
    cd tsm4j/build/repos/releases
    zip release.zip ./com/tsm4j/tsm4j/1.1.0/*
    cd -
  4. Open https://central.sonatype.com/publishing
    1. sign in (continue with google)
    2. upload
    3. wait for validation
    4. publish