mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2024-12-12 00:46:51 +01:00
19 lines
439 B
Bash
Executable File
19 lines
439 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ "$#" -ne 2 ]; then
|
|
echo "Usage:\n ./makeRelease 1.2.3rc0 Directory/"
|
|
exit 1
|
|
fi
|
|
|
|
set -e
|
|
DEST=$2
|
|
VERSION_NAME=$1
|
|
|
|
rm CONTRIBUTORS
|
|
./createDevelopersList.py
|
|
./createTranslatorsList.py
|
|
|
|
./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
|