2015-11-27 17:06:23 +01:00
|
|
|
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
DEST=$2
|
|
|
|
VERSION_NAME=$1
|
|
|
|
|
|
|
|
# need to get rid of this so that it gets regenerated
|
|
|
|
# probably a way to solve this in Gradle too...
|
2015-12-02 23:47:37 +01:00
|
|
|
rm -f app/src/main/assets/about.html
|
2015-11-27 17:06:23 +01:00
|
|
|
./gradlew clean assembleDebug assembleRelease
|
|
|
|
cp app/build/outputs/apk/app-debug.apk $DEST/AntennaPod_${VERSION_NAME}_debug.apk
|
|
|
|
cp app/build/outputs/apk/app-release.apk $DEST/AntennaPod_${VERSION_NAME}_release.apk
|