Forest_Client/Tool/BuildTool/build_android_release.sh

26 lines
492 B
Bash
Raw Normal View History

2024-06-12 15:01:54 +08:00
##!/bin/bash
SHELL_DIR=$(dirname $0)
echo "change dir to $SHELL_DIR"
cd "$SHELL_DIR"
VERSION="$1"
PROFILE="$2"
ARTIFACT_URL="$3"
ENABLE_HOT_UPDATE="$4"
DEVELPOMENT_BUILD="$5"
WORKSPACE="$6"
AAB="$7"
# Set the target platform (e.g. Android, iOS, Windows, etc.)
PLATFORM="Android"
#PLATFORM="iOS"
# Set if needs to clear cache
CLEARCACHED="yes"
#CLEARCACHED="no"
sh build.sh $VERSION $PROFILE $ARTIFACT_URL $ENABLE_HOT_UPDATE $PLATFORM $CLEARCACHED $DEVELPOMENT_BUILD $WORKSPACE $AAB