Created
September 20, 2017 06:06
-
-
Save d3zza/9144391646cf7a87fcc103d95f32ab42 to your computer and use it in GitHub Desktop.
react native build android release and rename with date
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#build apk | |
cd android && ./gradlew assembleRelease | |
#rename apk with date (run from android dir) | |
d="app/build/outputs/apk/AlphaBucks $(date +"%Y-%m-%d %H-%M")"; mkdir "$d" && cp app/build/outputs/apk/app-release.apk "$d" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment