diff --git a/libretro-buildbot-recipe.sh b/libretro-buildbot-recipe.sh index 30cdade5..7e7d5b5e 100755 --- a/libretro-buildbot-recipe.sh +++ b/libretro-buildbot-recipe.sh @@ -780,12 +780,12 @@ while read line; do FORCE="YES" BUILD="YES" fi - + if [ "${PREVCORE}" = "bsnes" -a "${PREVBUILD}" = "YES" -a "${NAME}" = "bsnes" ]; then FORCE="YES" BUILD="YES" fi - + if [ "${PREVCORE}" = "bsnes" -a "${PREVBUILD}" = "YES" -a "${NAME}" = "bsnes-mercury" ]; then FORCE="YES" BUILD="YES" @@ -1420,7 +1420,7 @@ if [ "${PLATFORM}" = "android" ] && [ "${RA}" = "YES" ]; then echo "cloning repo..." cd $PARENTDIR git clone "$URL" "$DIR" --depth=1 - + if [ "${TYPE}" = "PROJECT" ]; then BUILD="YES" RADIR=$DIR @@ -1524,12 +1524,13 @@ EOF $NDK clean &> $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log $NDK -j${JOBS} &>> $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log - python ./version_increment.py + if [ "${RELEASE}" == "NO" ]; then + python ./version_increment.py + fi ant clean &>> $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log android update project --path . --target android-22 &>> $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log 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 $RARCH_DIR ant release &>> $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log cp -rv bin/retroarch-release.apk $RARCH_DIR/retroarch-release.apk &>> $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log cp -rv bin/retroarch-release.apk $RARCH_DIR/retroarch-release.apk @@ -1555,7 +1556,6 @@ EOF android update project --path . --target android-22 &>> $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log 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 ant set-debuggable release &>> $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log cp -rv bin/retroarch-release.apk $RARCH_DIR/retroarch-debug.apk &>> $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_${PLATFORM}.log cp -rv bin/retroarch-release.apk $RARCH_DIR/retroarch-debug.apk