diff --git a/.github/workflows/publish_to_mvn-central.yml b/.github/workflows/publish_to_mvn-central.yml
index 8fba1f3e..363103d4 100644
--- a/.github/workflows/publish_to_mvn-central.yml
+++ b/.github/workflows/publish_to_mvn-central.yml
@@ -21,10 +21,11 @@ jobs:
run: |
echo -e "Releasing ${{ github.ref_name }}"
echo -e "$(tty)"
+ gpg --version
# This avoids gpg: signing failed: Inappropriate ioctl for device error
# See https://github.com/keybase/keybase-issues/issues/2798
- # export GPG_TTY=$(tty)
- export GPG_TTY=`tty`
+ export GPG_TTY=$(tty)
+ # export GPG_TTY=`tty`
# https://gist.github.com/sualeh/ae78dc16123899d7942bc38baba5203c
echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}" | gpg --batch --import
gpg --list-secret-keys --keyid-format LONG
diff --git a/pom.xml b/pom.xml
index f6830552..c6806835 100644
--- a/pom.xml
+++ b/pom.xml
@@ -36,6 +36,7 @@
11
4.7.0
0.9.0-SNAPSHOT
+ lgu.spree
@@ -72,6 +73,10 @@
ossrh
https://s01.oss.sonatype.org/content/repositories/snapshots
+
+ ossrh
+ https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/
+
@@ -241,6 +246,14 @@
sign
+
+ ${gpg.keyname}
+
+
+ --pinentry-mode
+ loopback
+
+