simple file to help make releases

This commit is contained in:
Tom Hennen 2015-11-27 11:06:23 -05:00
parent 549b6f3ec3
commit 07b775a92c
1 changed files with 11 additions and 0 deletions

11
makeRelease.sh Executable file
View File

@ -0,0 +1,11 @@
#!/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...
rm app/src/main/assets/about.html
./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