Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 706 Bytes

RELEASE.md

File metadata and controls

44 lines (32 loc) · 706 Bytes

How to Release to Maven Central

  1. Cleanup

    mvn release:clean

    delete git tag, if needed:

    git tag -d v0.1.0
  2. Prepare the release:

    mvn release:prepare \
      -Dresume=false \
      -DpushChanges=false
  3. Perform the release

    GPG_TTY=$(tty) && \
    export GPG_TTY && \
    mvn release:perform -DlocalCheckout=true

    https://stackoverflow.com/a/57591830/3315474

In case of GPG error gpg: signing failed: Screen or window too small, try this:

gpg -K --keyid-format SHORT
  1. Push

    git push origin 
    git push origin --tags