Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 877 Bytes

RELEASE.md

File metadata and controls

33 lines (25 loc) · 877 Bytes

Release process

0. You need to configure your GPG key first

https://central.sonatype.org/publish/requirements/gpg/#installing-gnupg

1. On some machines you need to run this first

Because of: keybase/keybase-issues#2798

export GPG_TTY=$(tty)

2. Prepare your my-settings.xml

<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>${env.SONATYPE_USERNAME}</username>
      <password>${env.SONATYPE_PASSWORD}</password>
    </server>
  </servers>
</settings>

3. Execute release command

mvn clean deploy -P release-sign-artifacts --settings my-settings.xml