fix(scripts): use named variable instead of positional

This commit is contained in:
Akash Yadav
2025-01-17 17:45:11 +05:30
parent 61dff51264
commit 651fa6ff54

View File

@@ -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