pikapika/scripts/sign-apk-github-actions.sh

7 lines
216 B
Bash

cd "$( cd "$( dirname "$0" )" && pwd )/.."
echo $KEY_FILE_BASE64 > key.jks.base64
base64 -d key.jks.base64 > key.jks
echo $KEY_PASSWORD | apksigner sign --ks key.jks build/app/outputs/flutter-apk/app-release.apk