Sign and verify new release jars with GnuPG

This commit is contained in:
Reinhard Pointner 2017-04-13 18:10:53 +08:00
parent 33e980e114
commit 1f870b5adb
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ fi
GPG_HOME="$APP_ROOT/.gpg" GPG_HOME="$APP_ROOT/.gpg"
JAR_XZ_FILE="$APP_ROOT/FileBot.jar.xz" JAR_XZ_FILE="$APP_ROOT/FileBot.jar.xz"
if [ -d "$GPG_HOME" ]; then if [ ! -d "$GPG_HOME" ]; then
mkdir -p -m 700 "$GPG_HOME" && gpg --homedir "$GPG_HOME" --import "$APP_ROOT/filebot.pub" mkdir -p -m 700 "$GPG_HOME" && gpg --homedir "$GPG_HOME" --import "$APP_ROOT/filebot.pub"
fi fi