Last active
December 10, 2015 22:18
-
-
Save groupsky/4501206 to your computer and use it in GitHub Desktop.
deploy 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 | |
for DEVICE in `adb devices | tail -n+2 | cut -f1`; do | |
echo "installing $APK on $i" | |
adb -s $DEVICE install -rs $APK | |
done | |
done | |
echo "done deploying" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment