Release script
A portable shell script for creating release builds on both platforms with the correct .env
file.
When you run the script, it links your production .env
file to assets/env/.env
and once the build is done, it changes the symlink to the dev .env
file.
Usage
# iOS build
$ scripts/build-release.sh ios
# App Bundle build
$ scripts/build-release.sh appbundle
Requirements
You need two .env
files inside the .env/
directory inside the project root like this for the script to run:
.env/
├── .env.dev
└── .env.production