use ant release

This commit is contained in:
radius 2016-01-22 12:47:12 -05:00
parent 3483ba5c18
commit 32a79b312a

View File

@ -1497,11 +1497,7 @@ if [ "${PLATFORM}" = "android" ] && [ "${RA}" = "YES" ]; then
android update project --path libs/googleplay --target android-21 &>> $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log
android update project --path libs/appcompat --target android-21 &>> $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log
echo RELEASE BUILD: $RELEASE
if [ "${RELEASE}" = "YES" ]; then
ant release &>> $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log
else
ant debug &>> $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log
fi
ant release &>> $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log
if [ $? -eq 0 ]; then
MESSAGE="retroarch build succeeded [$jobid]"