Created
January 10, 2013 12:13
-
-
Save groupsky/4501582 to your computer and use it in GitHub Desktop.
deploy only release apps to all connected devices
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for APK in `find $WORKSPACE -type f -name '*-release*.apk'`; do | |
if [[ "$APK" != *unaligned* ]]; then | |
if [[ "$APK" != *unsigned* ]]; then | |
for DEVICE in `adb devices | tail -n+2 | cut -f1`; do | |
echo "installing $APK on $i" | |
adb -s $DEVICE install -rs $APK | |
done | |
fi | |
fi | |
done | |
echo "done deploying" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment