react-native-expo-turtle-build-and-upload
v0.3.2
Published
A set of GNU Make targets for building and uploading React Native application releases for iOS and Android.
Maintainers
Readme
React Native Expo Turtle Build & Upload
Developed with ♥ and sponsored by Polyglot and Happii LLC.
react-native-expo-turtle-build-and-upload is a set of GNU Make targets for building and uploading React Native application releases for iOS and Android. It exposes a GNU Make file build-and-upload in the directory node_modules/react-native-expo-turtle-build-and-upload which you must include in your project's makefile.
Requirements
- A React Native application bootstrapped via
expo init. - Xcode Command Line Tools (
xcode-select --install). - fastlane (
brew install fastlane && brew link fastlane).
Installation & Setup
npm
npm install react-native-expo-turtle-build-and-upload --save-devyarn
yarn add react-native-expo-turtle-build-and-upload --devconfigure app.json
setup environment variables
CERTIFICATE_ROOT: directory containingios_distribution.mobileprovisionandios_distribution.p12.EXPO_USERNAME: Expo account username.EXPO_PASSWORD: Expo account password.EXPO_APPLE_TEAM_ID: Apple Team ID - (a 10-character string likeQ2DBWS92CA).EXPO_IOS_DIST_P12_PASSWORD: iOS Distribution Certificate password.IOS_APP_UPLOAD_USERNAME: Apple Developer account username.IOS_APP_UPLOAD_PASSWORD: Apple Developer account application-specific password.EXPO_SDK_VERSION: Expo SDK version of your app.
add the following line to your makefile
include node_modules/react-native-expo-turtle-build-and-upload/build-and-uploadAvailable Targets
turtle-build-iosto-appstoreturtle-build-androidto-playstore
Usage
build ios_distribution.ipa for the app store
make turtle-build-iosupload ios_distribution.ipa to the app store
make to-appstorebuild android_distribution.apk for the app store
make turtle-build-androidupload android_distribution.apk to the play store
make to-playstore