Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 733 Bytes

RELEASE.md

File metadata and controls

42 lines (31 loc) · 733 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