File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -27,5 +27,6 @@ version=$(mvn exec:exec -q -N -Dexec.executable="echo" -Dexec.args='${project.ve
2727echo " ${version} "
2828
2929if [ " $version " ]; then
30+ export GPG_TTY=$( tty)
3031 mvn clean deploy -Psnapshot --settings " ${TRAVIS_BUILD_DIR} " /.mvn/settings.xml -Dgpg.executable=gpg2 -Dgpg.keyname=" $GPG_KEY_NAME " -Dgpg.passphrase=" $GPG_PASSPHRASE "
31- fi
32+ fi
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ if [ -z "$GPG_PASSPHRASE" ]; then
2424fi
2525
2626if [ " $TRAVIS_TAG " ]; then
27+ export GPG_TTY=$( tty)
2728 mvn clean deploy -Prelease --settings " ${TRAVIS_BUILD_DIR} " /.mvn/settings.xml -Dgpg.executable=gpg2 -Dgpg.keyname=" $GPG_KEY_NAME " -Dgpg.passphrase=" $GPG_PASSPHRASE "
2829else
2930 echo " not create a tag"
You can’t perform that action at this time.
0 commit comments