You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

10 lines
287 B

#!/bin/bash
set -ex
for APK in /src/app/build/outputs/apk/nightly/*apk
do
echo "${KEY_PASSWORD}"|${ANDROID_HOME}/build-tools/${ANDROID_BUILD_TOOLS_VERSION}/apksigner sign --ks "${KEY_PATH}" "${APK}"
APK_NAME=$(basename ${APK})
cp ${APK} /builds/${APK_NAME/-unsigned/}
done