26 lines
492 B
Bash
Executable File
26 lines
492 B
Bash
Executable File
##!/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
|
|
|