Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 609 Bytes

RELEASE.md

File metadata and controls

35 lines (28 loc) · 609 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 \
      -DprojectVersionPolicyId=SemVerVersionPolicy
  3. Perform the release

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

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

  4. Push

    git push origin 
    git push origin --tags