gpg batch sign: finally works
Remove the test commands Remove the plugin args from pom.xml Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
parent
4db13f58e6
commit
76946e63f3
|
@ -2,29 +2,14 @@ openssl aes-256-cbc -K $encrypted_3210c925a91b_key \
|
|||
-iv $encrypted_3210c925a91b_iv \
|
||||
-in .travis.secring.enc -out .travis.secring -d
|
||||
|
||||
#gpg --keyring=$TRAVIS_BUILD_DIR/pubring.gpg \
|
||||
# --no-default-keyring \
|
||||
# --import .travis.pubring
|
||||
|
||||
gpg2 --version
|
||||
|
||||
gpg2 --import .travis.pubring
|
||||
|
||||
#gpg --allow-secret-key-import --keyring=$TRAVIS_BUILD_DIR/secring.gpg \
|
||||
# --no-default-keyring \
|
||||
# --import .travis.secring
|
||||
|
||||
gpg2 --batch --allow-secret-key-import --import .travis.secring
|
||||
|
||||
export GPG_TTY=$(tty)
|
||||
|
||||
#mvn clean deploy -P release -DskipTests \
|
||||
# --settings .travis.settings.xml \
|
||||
# -Dgpg.executable=gpg2 \
|
||||
# -Dgpg.passphrase=$PASSPHRASE
|
||||
|
||||
mvn package org.apache.maven.plugins:maven-gpg-plugin:1.6:sign -P release \
|
||||
-DskipTests \
|
||||
mvn clean deploy -P release -DskipTests \
|
||||
--settings .travis.settings.xml \
|
||||
-Dgpg.executable=gpg2 \
|
||||
-Dgpg.keyname=4F144A60ECA44F0D \
|
||||
-Dgpg.passphrase=$PASSPHRASE
|
||||
|
|
Loading…
Reference in New Issue