upload debug builds to test server too

This commit is contained in:
Eric House 2024-02-08 11:42:18 -08:00
parent 2ebdcd6433
commit 01e5082ad5

View file

@ -29,8 +29,11 @@ cd xwords/xwords4/android
APK="$(find . -name '*.apk')" APK="$(find . -name '*.apk')"
if [ -n "${XW4D_UPLOAD}" ]; then if [ -n "${XW4D_UPLOAD}" ]; then
scp "$APK" ${XW4D_UPLOAD} IFS=","
echo "uploaded $APK" for UPPATH in ${XW4D_UPLOAD}; do
# scp "$APK" ${UPPATH}
echo "uploaded $APK to ${UPPATH}"
done
else else
echo "not uploading $APK: XW4D_UPLOAD not set" >&2 echo "not uploading $APK: XW4D_UPLOAD not set" >&2
fi fi