Skip to content

Commit b32d9e4

Browse files
committed
Update deployment
1 parent 0dd5628 commit b32d9e4

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/maven.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ jobs:
108108
# run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
109109
# env:
110110
# GITHUB_TOKEN: ${{ github.token }}
111+
- name: Fix TTY
112+
run: export GPG_TTY=$(tty)
113+
111114
- name: Publish package RELEASE150
112115
run: mvn --batch-mode gpg:sign-and-deploy-file -DpomFile=pom.xml -Dnetbeans.release.version=RELEASE150 -Dnext.version=RELEASE150-${{ env.RELEASE_VERSION }} -Durl=https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=ossrh -Dfile=target/nbm/python-RELEASE150-${{ env.RELEASE_VERSION }}.nbm -Dversion=python-RELEASE150-${{ env.RELEASE_VERSION }}
113116
env:

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
<gpgArguments>
6060
<arg>--pinentry-mode</arg>
6161
<arg>loopback</arg>
62+
<arg>--no-tty</arg>
6263
</gpgArguments>
6364
</configuration>
6465
</execution>

0 commit comments

Comments
 (0)