Compose some env variables

This commit is contained in:
Davide De Rosa 2021-01-17 22:10:37 +01:00
parent 29f2e01c06
commit 2588101efa
6 changed files with 14 additions and 9 deletions

View File

@ -1,5 +1,4 @@
MATCH_TYPE="appstore"
GYM_EXPORT_METHOD="app-store"
DELIVER_IPA_PATH="$DIST_PATH/$PLATFORM/$TARGET/$APP_NAME.ipa"
PILOT_IPA="$DIST_PATH/$PLATFORM/$TARGET/$APP_NAME.ipa"
PILOT_DISTRIBUTE_EXTERNAL="true"

View File

@ -1,4 +1,3 @@
MATCH_TYPE="appstore"
GYM_EXPORT_METHOD="app-store"
GYM_SKIP_PACKAGE_PKG="false"
DELIVER_PKG_PATH="$DIST_PATH/$PLATFORM/$TARGET/$APP_NAME.pkg"

View File

@ -2,5 +2,4 @@ PLATFORM="ios"
DELIVER_PLATFORM="ios"
GYM_SCHEME="Passepartout-iOS"
BUNDLE_CONTEXT="ios"
APP_CONTEXT="iOS"
APP_ROOT="Passepartout/App/$APP_CONTEXT"
APP_ROOT="Passepartout/App/iOS"

View File

@ -2,5 +2,4 @@ PLATFORM="mac"
DELIVER_PLATFORM="osx"
GYM_SCHEME="Passepartout-macOS"
BUNDLE_CONTEXT="macos"
APP_CONTEXT="macOS"
APP_ROOT="Passepartout/App/$APP_CONTEXT"
APP_ROOT="Passepartout/App/macOS"

@ -1 +1 @@
Subproject commit 613f18fe23706a0fe15222ab02c76c4014a8c018
Subproject commit bc83d210092fb6e18628f57f2eb66f37fdede557

View File

@ -2,8 +2,17 @@
# For more information, check out the docs
# https://docs.fastlane.tools/actions/deliver/
screenshots_path "#{ENV['APP_ROOT']}/fastlane/screenshots"
metadata_path "#{ENV['APP_ROOT']}/fastlane/metadata"
screenshots_path "#{ENV["APP_ROOT"]}/fastlane/screenshots"
metadata_path "#{ENV["APP_ROOT"]}/fastlane/metadata"
if not ENV["TARGET"].nil?
binary_path = "#{ENV["DIST_PATH"]}/#{ENV["PLATFORM"]}/#{ENV["TARGET"]}"
if ENV["PLATFORM"] == "ios"
ipa "#{binary_path}/#{ENV["APP_NAME"]}.ipa"
else
pkg "#{binary_path}/#{ENV["APP_NAME"]}.pkg"
end
end
skip_binary_upload true
skip_metadata false