Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 898 Bytes

DEPLOY.md

File metadata and controls

41 lines (31 loc) · 898 Bytes

Deployment Notes

This is intended as a reminder for @vdurmont to deploy this library to maven central.

zshrc

Add this, it help:

# Needed for gpg when releasing stuff on maven central
# https://github.com/keybase/keybase-issues/issues/2798
export GPG_TTY=$(tty)

GPG signing

Import your gpg key: gpg --import path/to/my/private/key.asc

Sonatype auth

Setup your ~/.m2/settings.xml file:

<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
    https://maven.apache.org/xsd/settings-1.0.0.xsd">
  <servers>
    <server>
      <id>ossrh</id>
      <username>MY_USERNAME</username>
      <password>MY_SONATYPE_PASSWORD</password>
    </server>
  </servers>
</settings>

Deploy!

mvn clean deploy -DperformRelease=true -Prelease