AntennaPod/makeRelease.sh

19 lines
439 B
Bash
Raw Normal View History

2015-11-27 17:06:23 +01:00
#!/bin/sh
2016-06-19 18:55:12 +02:00
if [ "$#" -ne 2 ]; then
echo "Usage:\n ./makeRelease 1.2.3rc0 Directory/"
exit 1
fi
2015-11-27 17:06:23 +01:00
set -e
DEST=$2
VERSION_NAME=$1
2019-11-09 01:07:13 +01:00
rm CONTRIBUTORS
./createDevelopersList.py
./createTranslatorsList.py
2016-06-19 18:55:12 +02:00
./gradlew clean assemblePlayDebug assemblePlayRelease
cp app/build/outputs/apk/app-play-debug.apk $DEST/AntennaPod_${VERSION_NAME}_debug.apk
cp app/build/outputs/apk/app-play-release.apk $DEST/AntennaPod_${VERSION_NAME}_release.apk