This script helps you to automate your app versioning through the .env
file.
- Add this variable to your
.env
file
MAJOR_VERSION=
MINOR_VERSION=
PATCH_VERSION=
PRE_RELEASE=
- Copy the
pre-build.sh
file to your project folder. - Run it.
- And congratulations, now your app version has been updated!