actual/packages/mobile/android/build-release
2022-04-28 22:44:38 -04:00

18 lines
297 B
Bash
Executable file

#!/bin/sh -e
(
export NODE_ENV="production";
cd ../../loot-core/bin;
./build-mobile --release "$@";
)
(
cd ..;
../../node_modules/.bin/patch-package
)
./gradlew clean;
# ./gradlew assembleRelease;
./gradlew bundleRelease;
echo `pwd`/app/build/outputs/bundle/release/app-release.aab;