diff --git a/scripts/build.sh b/scripts/build.sh index 27e7702c..eb5ed345 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -129,10 +129,9 @@ popd # shellcheck disable=SC2154 pushd "$fenix" -if [[ "$1" == "apk" ]]; then +if [[ "$build_type" == "apk" ]]; then gradle :app:assembleRelease -fi -if [[ "$1" == "bundle" ]]; then +elif [[ "$build_type" == "bundle" ]]; then gradle :app:bundleRelease -Paab fi popd \ No newline at end of file