Update fastlane ENV vars (#3006)
This commit is contained in:
parent
d31c4aa31f
commit
21a790e820
1 changed files with 60 additions and 102 deletions
|
|
@ -1,119 +1,77 @@
|
|||
############ COMMON ############
|
||||
############ VARIABLE VALUES ############
|
||||
#export MATTERMOST_WEBHOOK_URL=<set this to an incoming webhook url to get a notification when the build finishes>
|
||||
|
||||
export BRANCH_TO_BUILD=master
|
||||
export GIT_LOCAL_BRANCH=build
|
||||
|
||||
export APP_NAME="Mattermost Beta"
|
||||
|
||||
#export INCREMENT_BUILD_NUMBER=false
|
||||
## This sets the version number ex: 1.22.0 if not set it uses the one in the code base
|
||||
#export VERSION_NUMBER=
|
||||
## This sets the version number ex: 210 if not set it uses the one in the code base (this one should increment always by 1 and will only update if INCREMENT_BUILD_NUMBER is true
|
||||
#export BUILD_NUMBER=
|
||||
|
||||
############ MAKE GIT RESTORE THE BRANCH STATE ONCE BUILD FINISHES ############
|
||||
export COMMIT_CHANGES_TO_GIT=true
|
||||
export RESET_GIT_BRANCH=true
|
||||
|
||||
############ NO NEED TO CHANGE AND THIS ENSURES THAT NODEJS DOESN'T CRASH WHILE BUILDING ############
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
export NODE_OPTIONS=--max_old_space_size=12000
|
||||
|
||||
############ MATCH (Used to sync your iOS provisioning profiles) ############
|
||||
# Should we run match to sync the provisioning profiles.
|
||||
############ MATCH IS USED TO SYNC THE IOS PROVISIONING PROFILES ############
|
||||
export MATCH_USERNAME=<itunes connect account>
|
||||
export FASTLANE_PASSWORD=<itunes connect password>
|
||||
export MATCH_PASSWORD=<itunes connect password>
|
||||
export MATCH_KEYCHAIN_PASSWORD=<the password of the user running the build in the build machine>
|
||||
export MATCH_GIT_URL=<private git repository to allow match sync the provisioning profiles>
|
||||
export MATCH_APP_IDENTIFIER=com.mattermost.rnbeta.NotificationService,com.mattermost.rnbeta.MattermostShare,com.mattermost.rnbeta
|
||||
export MATCH_TYPE=appstore
|
||||
export MATCH_SHALLOW_CLONE=true
|
||||
export MATCH_SKIP_DOCS=true
|
||||
export FASTLANE_TEAM_ID=<itunes connect team ID>
|
||||
export SYNC_PROVISIONING_PROFILES=true
|
||||
|
||||
# Your Apple ID Username
|
||||
export MATCH_USERNAME=
|
||||
|
||||
# Your Apple ID Password
|
||||
export FASTLANE_PASSWORD=
|
||||
|
||||
# Your Apple ID Password (again)
|
||||
export MATCH_PASSWORD=
|
||||
|
||||
# URL to the git repo containing all the certificates
|
||||
export MATCH_GIT_URL=
|
||||
|
||||
# The bundle identifier(s) of your app (comma-separated)
|
||||
export MATCH_APP_IDENTIFIER=com.mattermost.rnbeta.MattermostShare,com.mattermost.rnbeta
|
||||
|
||||
# Define the profile type. Valid values are: appstore, adhoc, development, enterprise
|
||||
export MATCH_TYPE=appstore
|
||||
|
||||
# Make a shallow clone of the repository (truncate the history to 1 revision)
|
||||
export MATCH_SHALLOW_CLONE=true
|
||||
|
||||
# Skip generation of a README.md for the created git repository
|
||||
export MATCH_SKIP_DOCS=true
|
||||
|
||||
# The ID of your Developer Portal team
|
||||
export FASTLANE_TEAM_ID=
|
||||
|
||||
# Your Mac user password used to install the certificates in the build computer KeyChain
|
||||
export MATCH_KEYCHAIN_PASSWORD=
|
||||
|
||||
############ PILOT (Used to upload the ipa to TestFlight and from there you can submit to the store) ############
|
||||
# Your Apple ID Username
|
||||
export PILOT_USERNAME=
|
||||
|
||||
# Don't wait for the build to process.
|
||||
############ NEEDED TO UPLOAD THE BUILD TO TESTFLIGHT ############
|
||||
export PILOT_USERNAME=<itunes connect account>
|
||||
export PILOT_SKIP_WAITING_FOR_BUILD_PROCESSING=true
|
||||
|
||||
############ SUPLY (Used to upload the apk to the play store) ############
|
||||
# The track of the application to use when submitting to Google Play, valid values are: alpha, beta, production
|
||||
export SUPPLY_TRACK=
|
||||
|
||||
# The package id of the application, should match MAIN_APP_IDENTIFIER
|
||||
############ NEEDED TO UPLOAD THE BUILD TO GOOGLE PLAY ############
|
||||
export SUPPLY_TRACK=alpha
|
||||
export SUPPLY_PACKAGE_NAME=com.mattermost.rnbeta
|
||||
export SUPPLY_JSON_KEY=<The path to the service account json file used to authenticate with Google>
|
||||
export SUPPLY_VALIDATE_ONLY=false
|
||||
|
||||
# The path to the service account json file used to authenticate with Google
|
||||
export SUPPLY_JSON_KEY=
|
||||
|
||||
############ MATTERMOST BUILD ############
|
||||
# Publish build results to Mattermost using an Incoming WebHook
|
||||
export MATTERMOST_WEBHOOK_URL=
|
||||
|
||||
# Ensures there are no changes to git before building the app and every change made by the
|
||||
# the build process is committed back to git
|
||||
export COMMIT_CHANGES_TO_GIT=true
|
||||
|
||||
# Defines what branch is going to be used for building the app
|
||||
export BRANCH_TO_BUILD=master
|
||||
|
||||
# Defines the local branch to be created using BRANCH_TO_BUILD as base
|
||||
export GIT_LOCAL_BRANCH=build
|
||||
|
||||
# Once the build is done should the git branch reset to initial state
|
||||
export RESET_GIT_BRANCH=true
|
||||
|
||||
# The name of the app as it is going to be shown in the device home screen
|
||||
export APP_NAME=Mattermost
|
||||
|
||||
# Set the version of the app on build time if you want to use another one than the one set in the project.
|
||||
#export VERSION_NUMBER=1.15.0
|
||||
|
||||
# Set the build number of the app on build time if you want to use another than the next number.
|
||||
#export BUILD_NUMBER=160
|
||||
|
||||
# Set the commit message when changing the app version number.
|
||||
export INCREMENT_VERSION_NUMBER_MESSAGE="Bump app version number to"
|
||||
|
||||
# Defines if the app build number should be incremented.
|
||||
export INCREMENT_BUILD_NUMBER=false
|
||||
|
||||
# Set the commit message when changing the app build number.
|
||||
export INCREMENT_BUILD_NUMBER_MESSAGE="Bump app build number to"
|
||||
|
||||
# Defines if the app should be built in release mode.
|
||||
############ REPLACE ASSETS, BUILD IN RELEASE MODE ############
|
||||
export BETA_BUILD=true
|
||||
export BUILD_FOR_RELEASE=true
|
||||
export REPLACE_ASSETS=false
|
||||
|
||||
# eplaces the icons of the app with the ones found under the folder dist/assets/release/icons/
|
||||
# and the splash screen with the one found under the folder dist/assets/release/splash_screen/.
|
||||
export REPLACE_ASSETS=true
|
||||
|
||||
# The bundle / package identifier for the app.
|
||||
############ APP IDENTIFIERS ############
|
||||
export MAIN_APP_IDENTIFIER=com.mattermost.rnbeta
|
||||
|
||||
# Submit the app to TestFlight once the build finishes
|
||||
export SUBMIT_IOS_TO_TESTFLIGHT=true
|
||||
|
||||
# Should the app be submitted to the Play Store once it finishes to build, use along with SUPPLY_TRACK.
|
||||
export SUBMIT_ANDROID_TO_GOOGLE_PLAY=true
|
||||
|
||||
#### IOS SPECIFIC ####
|
||||
# The bundle identifier for the share extension.
|
||||
export EXTENSION_APP_IDENTIFIER=com.mattermost.rnbeta.MattermostShare
|
||||
|
||||
# The iOS App Group identifier used to share data between the app and the share extension.
|
||||
export NOTIFICATION_SERVICE_IDENTIFIER=com.mattermost.rnbeta.NotificationService
|
||||
export IOS_APP_GROUP=group.com.mattermost.rnbeta
|
||||
|
||||
# The iOS iCloud container identifier used to support iCloud storage.
|
||||
export IOS_ICLOUD_CONTAINER=iCloud.com.mattermost.rnbeta
|
||||
|
||||
# Method used to export the archive. Valid values are: app-store, ad-hoc, package, enterprise, development, developer-id
|
||||
export IOS_BUILD_EXPORT_METHOD=app-store
|
||||
|
||||
############ SET TO TRUE TO UPLOAD THE BUILDS TO TESTFLIGH AND GOOGLE PLAY ############
|
||||
export SUBMIT_IOS_TO_TESTFLIGHT=false
|
||||
export SUBMIT_ANDROID_TO_GOOGLE_PLAY=false
|
||||
|
||||
############ OPTIONAL ############
|
||||
#export SENTRY_ENABLED=<set to true if you want to use sentry http://sentry.io/ to track crash and error reports>
|
||||
#export SENTRY_ORG=<your sentry org>
|
||||
#export SENTRY_PROJECT_IOS=<your sentry ios project>
|
||||
#export SENTRY_DSN_IOS=<your sentry DSN for the ios project>
|
||||
#export SENTRY_PROJECT_ANDROID=<your sentry android project>
|
||||
#export SENTRY_DSN_ANDROID=<your sentry DSN for the android project>
|
||||
#export SENTRY_AUTH_TOKEN=<your sentry auth token>
|
||||
|
||||
############ UPLOAD THE BUILDS TO AWS S3 ############
|
||||
#export AWS_ACCESS_KEY_ID=<your aws s3 access id>
|
||||
#export AWS_SECRET_ACCESS_KEY=<your aws s3 access key>
|
||||
#export AWS_BUCKET_NAME=<your aws bucket name>
|
||||
#export AWS_FOLDER_NAME=<the folder to use in you aws bucket>
|
||||
#export AWS_REGION=<your aws region>
|
||||
|
|
|
|||
Loading…
Reference in a new issue