Refactor fastlane configuration/environment
Remember skip_package_pkg for macOS.
This commit is contained in:
parent
9a360c3acf
commit
505d79d9d6
|
@ -0,0 +1,9 @@
|
||||||
|
PROJECT="Passepartout"
|
||||||
|
APP_NAME="Passepartout"
|
||||||
|
MATCH_READONLY="true"
|
||||||
|
BUILD_PATH="build"
|
||||||
|
DIST_PATH="dist"
|
||||||
|
|
||||||
|
# constant (fastlane)
|
||||||
|
LC_ALL="en_US.UTF-8"
|
||||||
|
LANG="en_US.UTF-8"
|
|
@ -0,0 +1,4 @@
|
||||||
|
TARGET="beta"
|
||||||
|
PILOT_IPA="$DIST_PATH/$PLATFORM/$TARGET/$APP_NAME.ipa"
|
||||||
|
PILOT_DISTRIBUTE_EXTERNAL="true"
|
||||||
|
DEMO_ACCOUNT_REQUIRED="true"
|
|
@ -0,0 +1,2 @@
|
||||||
|
MATCH_TYPE="appstore"
|
||||||
|
GYM_EXPORT_METHOD="app-store"
|
|
@ -0,0 +1,2 @@
|
||||||
|
MATCH_TYPE="appstore"
|
||||||
|
GYM_EXPORT_METHOD="app-store"
|
|
@ -0,0 +1,2 @@
|
||||||
|
TARGET="dev"
|
||||||
|
APPCENTER_DISTRIBUTE_DESTINATION_TYPE="group"
|
|
@ -0,0 +1,4 @@
|
||||||
|
MATCH_TYPE="adhoc"
|
||||||
|
GYM_EXPORT_METHOD="ad-hoc"
|
||||||
|
APPCENTER_APP_NAME=$GYM_SCHEME
|
||||||
|
APPCENTER_DISTRIBUTE_IPA="$DIST_PATH/$PLATFORM/$TARGET/$APP_NAME.ipa"
|
|
@ -0,0 +1,7 @@
|
||||||
|
MATCH_TYPE="development"
|
||||||
|
GYM_EXPORT_METHOD="development"
|
||||||
|
APPCENTER_APP_NAME=$GYM_SCHEME
|
||||||
|
APPCENTER_DISTRIBUTE_FILE="$DIST_PATH/$PLATFORM/$TARGET/$APP_NAME.app"
|
||||||
|
FL_NOTARIZE_PACKAGE=$APPCENTER_DISTRIBUTE_FILE
|
||||||
|
FL_NOTARIZE_PRINT_LOG=true
|
||||||
|
FL_NOTARIZE_VERBOSE=true
|
|
@ -0,0 +1,3 @@
|
||||||
|
PLATFORM="ios"
|
||||||
|
GYM_SCHEME="Passepartout-iOS"
|
||||||
|
BUNDLE_CONTEXT="ios"
|
|
@ -0,0 +1,3 @@
|
||||||
|
PLATFORM="mac"
|
||||||
|
GYM_SCHEME="Passepartout-macOS"
|
||||||
|
BUNDLE_CONTEXT="macos"
|
|
@ -0,0 +1,2 @@
|
||||||
|
MATCH_GIT_URL=
|
||||||
|
MATCH_PASSWORD=
|
|
@ -0,0 +1,10 @@
|
||||||
|
APPLE_ID=
|
||||||
|
FASTLANE_USERNAME=
|
||||||
|
FASTLANE_PASSWORD=
|
||||||
|
APPCENTER_OWNER_NAME=
|
||||||
|
APPCENTER_API_TOKEN=
|
||||||
|
APPCENTER_DISTRIBUTE_DESTINATIONS=
|
||||||
|
PILOT_GROUPS=
|
||||||
|
PILOT_USERNAME=
|
||||||
|
DELIVER_USERNAME=
|
||||||
|
PROJECT_ROOT=
|
14
Gemfile.lock
14
Gemfile.lock
|
@ -14,7 +14,7 @@ GEM
|
||||||
json (>= 1.5.1)
|
json (>= 1.5.1)
|
||||||
atomos (0.1.3)
|
atomos (0.1.3)
|
||||||
aws-eventstream (1.1.0)
|
aws-eventstream (1.1.0)
|
||||||
aws-partitions (1.413.0)
|
aws-partitions (1.414.0)
|
||||||
aws-sdk-core (3.110.0)
|
aws-sdk-core (3.110.0)
|
||||||
aws-eventstream (~> 1, >= 1.0.2)
|
aws-eventstream (~> 1, >= 1.0.2)
|
||||||
aws-partitions (~> 1, >= 1.239.0)
|
aws-partitions (~> 1, >= 1.239.0)
|
||||||
|
@ -85,16 +85,18 @@ GEM
|
||||||
ethon (0.12.0)
|
ethon (0.12.0)
|
||||||
ffi (>= 1.3.0)
|
ffi (>= 1.3.0)
|
||||||
excon (0.78.1)
|
excon (0.78.1)
|
||||||
faraday (1.2.0)
|
faraday (1.3.0)
|
||||||
|
faraday-net_http (~> 1.0)
|
||||||
multipart-post (>= 1.2, < 3)
|
multipart-post (>= 1.2, < 3)
|
||||||
ruby2_keywords
|
ruby2_keywords
|
||||||
faraday-cookie_jar (0.0.7)
|
faraday-cookie_jar (0.0.7)
|
||||||
faraday (>= 0.8.0)
|
faraday (>= 0.8.0)
|
||||||
http-cookie (~> 1.0.0)
|
http-cookie (~> 1.0.0)
|
||||||
|
faraday-net_http (1.0.0)
|
||||||
faraday_middleware (1.0.0)
|
faraday_middleware (1.0.0)
|
||||||
faraday (~> 1.0)
|
faraday (~> 1.0)
|
||||||
fastimage (2.2.1)
|
fastimage (2.2.1)
|
||||||
fastlane (2.170.0)
|
fastlane (2.171.0)
|
||||||
CFPropertyList (>= 2.3, < 4.0.0)
|
CFPropertyList (>= 2.3, < 4.0.0)
|
||||||
addressable (>= 2.3, < 3.0.0)
|
addressable (>= 2.3, < 3.0.0)
|
||||||
aws-sdk-s3 (~> 1.0)
|
aws-sdk-s3 (~> 1.0)
|
||||||
|
@ -167,7 +169,7 @@ GEM
|
||||||
http-cookie (1.0.3)
|
http-cookie (1.0.3)
|
||||||
domain_name (~> 0.5)
|
domain_name (~> 0.5)
|
||||||
httpclient (2.8.3)
|
httpclient (2.8.3)
|
||||||
i18n (1.8.5)
|
i18n (1.8.6)
|
||||||
concurrent-ruby (~> 1.0)
|
concurrent-ruby (~> 1.0)
|
||||||
jmespath (1.4.0)
|
jmespath (1.4.0)
|
||||||
json (2.5.1)
|
json (2.5.1)
|
||||||
|
@ -184,7 +186,7 @@ GEM
|
||||||
naturally (2.2.0)
|
naturally (2.2.0)
|
||||||
netrc (0.11.0)
|
netrc (0.11.0)
|
||||||
os (1.1.1)
|
os (1.1.1)
|
||||||
plist (3.5.0)
|
plist (3.6.0)
|
||||||
public_suffix (4.0.6)
|
public_suffix (4.0.6)
|
||||||
rake (13.0.3)
|
rake (13.0.3)
|
||||||
representable (3.0.4)
|
representable (3.0.4)
|
||||||
|
@ -232,7 +234,7 @@ GEM
|
||||||
nanaimo (~> 0.3.0)
|
nanaimo (~> 0.3.0)
|
||||||
xcpretty (0.3.0)
|
xcpretty (0.3.0)
|
||||||
rouge (~> 2.0.7)
|
rouge (~> 2.0.7)
|
||||||
xcpretty-travis-formatter (1.0.0)
|
xcpretty-travis-formatter (1.0.1)
|
||||||
xcpretty (~> 0.2, >= 0.0.7)
|
xcpretty (~> 0.2, >= 0.0.7)
|
||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
app_identifier("com.algoritmico.#{ENV['BUNDLE_CONTEXT']}.Passepartout") # The bundle identifier of your app
|
||||||
|
|
||||||
|
|
||||||
|
# For more information about the Appfile, see:
|
||||||
|
# https://docs.fastlane.tools/advanced/#appfile
|
|
@ -0,0 +1,8 @@
|
||||||
|
# The Deliverfile allows you to store various App Store Connect metadata
|
||||||
|
# For more information, check out the docs
|
||||||
|
# https://docs.fastlane.tools/actions/deliver/
|
||||||
|
|
||||||
|
skip_binary_upload true
|
||||||
|
skip_metadata false
|
||||||
|
skip_screenshots false
|
||||||
|
overwrite_screenshots true
|
|
@ -0,0 +1,16 @@
|
||||||
|
# This file contains the fastlane.tools configuration
|
||||||
|
# You can find the documentation at https://docs.fastlane.tools
|
||||||
|
#
|
||||||
|
# For a list of all available actions, check out
|
||||||
|
#
|
||||||
|
# https://docs.fastlane.tools/actions
|
||||||
|
#
|
||||||
|
# For a list of all available plugins, check out
|
||||||
|
#
|
||||||
|
# https://docs.fastlane.tools/plugins/available-plugins
|
||||||
|
#
|
||||||
|
|
||||||
|
# Uncomment the line if you want fastlane to automatically update itself
|
||||||
|
# update_fastlane
|
||||||
|
|
||||||
|
import("../Submodules/fastlane-ci-templates/fastlane/Fastfile.include")
|
|
@ -0,0 +1,27 @@
|
||||||
|
# For more information about this configuration visit
|
||||||
|
# https://docs.fastlane.tools/actions/gym/#gymfile
|
||||||
|
|
||||||
|
# In general, you can use the options available
|
||||||
|
# fastlane gym --help
|
||||||
|
|
||||||
|
# Remove the # in front of the line to enable the option
|
||||||
|
|
||||||
|
# scheme "Example"
|
||||||
|
|
||||||
|
# sdk "iphoneos9.0"
|
||||||
|
|
||||||
|
build_target = ENV["TARGET"]
|
||||||
|
stage_build_path = "#{ENV["BUILD_PATH"]}/#{ENV["PLATFORM"]}/#{build_target}"
|
||||||
|
stage_artifacts_path = "#{ENV["DIST_PATH"]}/#{ENV["PLATFORM"]}/#{build_target}"
|
||||||
|
|
||||||
|
derived_data_path stage_build_path
|
||||||
|
buildlog_path stage_build_path
|
||||||
|
build_path stage_build_path
|
||||||
|
output_directory stage_artifacts_path
|
||||||
|
output_name ENV["APP_NAME"]
|
||||||
|
|
||||||
|
clean true
|
||||||
|
silent false
|
||||||
|
include_bitcode false
|
||||||
|
skip_profile_detection true
|
||||||
|
skip_package_pkg true
|
|
@ -0,0 +1,9 @@
|
||||||
|
type "development" # The default type, can be: appstore, adhoc, enterprise or development
|
||||||
|
|
||||||
|
app_identifier [
|
||||||
|
"com.algoritmico.#{ENV['BUNDLE_CONTEXT']}.Passepartout",
|
||||||
|
"com.algoritmico.#{ENV['BUNDLE_CONTEXT']}.Passepartout.Tunnel"
|
||||||
|
]
|
||||||
|
|
||||||
|
# For all available options run `fastlane match --help`
|
||||||
|
# Remove the # in the beginning of the line to enable the other options
|
|
@ -0,0 +1,5 @@
|
||||||
|
# Autogenerated by fastlane
|
||||||
|
#
|
||||||
|
# Ensure this file is checked in to source control!
|
||||||
|
|
||||||
|
gem 'fastlane-plugin-appcenter'
|
|
@ -0,0 +1,29 @@
|
||||||
|
# For more information about this configuration visit
|
||||||
|
# https://docs.fastlane.tools/actions/precheck/
|
||||||
|
|
||||||
|
# In general, you can use the options available
|
||||||
|
# fastlane precheck --help
|
||||||
|
|
||||||
|
# Remove the # in front of the line to enable the option
|
||||||
|
|
||||||
|
# You have three possible values for each rule options
|
||||||
|
# :skip
|
||||||
|
# indicates that your metadata will not be checked by this rule
|
||||||
|
|
||||||
|
# :warn
|
||||||
|
# when triggered, this rule will warn you of a potential problem
|
||||||
|
|
||||||
|
# :error
|
||||||
|
# when triggered, this rule will cause an error to be displayed and it will prevent any further fastlane commands from running after precheck finishes
|
||||||
|
|
||||||
|
# Examples:
|
||||||
|
# negative_apple_sentiment(level: :skip)
|
||||||
|
# curse_words(level: :warn)
|
||||||
|
# future_functionality(level: :error)
|
||||||
|
# other_platforms(level: :error)
|
||||||
|
# placeholder_text(level: :error)
|
||||||
|
# test_words(level: :error)
|
||||||
|
# unreachable_urls(level: :error)
|
||||||
|
# custom_text(data: ["fabric"], level: :warn)
|
||||||
|
|
||||||
|
include_in_app_purchases false
|
Loading…
Reference in New Issue