Sign and verify new release jars with GnuPG
This commit is contained in:
parent
33e980e114
commit
1f870b5adb
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue