#!/usr/bin/env bash

openssl aes-256-cbc -K $encrypted_57e4d0a26fa7_key -iv $encrypted_57e4d0a26fa7_iv -in signing.gpg.enc -out signing.gpg -d
gpg --import signing.gpg

pushd ../api
GPG_EXECUTABLE=gpg mvn -DskipTests -s ../.travis/settings.xml clean package gpg:sign deploy -P ossrh
popd

rm -rf signing.gpg
gpg --delete-keys
gpg --delete-secret-keys
#!/usr/bin/env bash

openssl aes-256-cbc -K $encrypted_57e4d0a26fa7_key -iv $encrypted_57e4d0a26fa7_iv -in .travis/signing.gpg.enc -out signing.gpg -d
gpg --import signing.gpg

pushd ./api
GPG_EXECUTABLE=gpg mvn -DskipTests -s ../.travis/settings.xml clean package gpg:sign deploy -P ossrh
popd

rm -rf signing.gpg
gpg --delete-keys
gpg --delete-secret-keys
Fix another API.jar deploying issues
Fix another API.jar deploying issues
