mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-11-14 06:22:50 +01:00
5181134253
Signed-off-by: Balazs Toldi <balazs@toldi.eu>
9 lines
419 B
Bash
Executable File
9 lines
419 B
Bash
Executable File
#!/bin/bash
|
|
|
|
[ -z "${APK_KS_PASS}" ] && { echo "Missing keystore password (KS_PASS)"; exit 1; }
|
|
[ -z "${APK_KS}" ] && { echo "Missing keystore file (KS)"; exit 1; }
|
|
[ -z "${APK_KS_ALIAS}" ] && { echo "Missing keystore alias (KS_ALIAS)"; exit 1; }
|
|
|
|
echo -n "$APK_KS" | base64 -d > /tmp/keystore.keystore
|
|
|
|
apksigner sign --ks /tmp/keystore.keystore --ks-pass pass:${APK_KS_PASS} --ks-key-alias ${APK_KS_ALIAS} --out $1 $2 |