https://central.sonatype.org/publish/requirements/gpg/#installing-gnupg
Because of: keybase/keybase-issues#2798
export GPG_TTY=$(tty)
<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>
mvn clean deploy -P release-sign-artifacts --settings my-settings.xml