Fix TestFlight app description

This commit is contained in:
Davide De Rosa 2018-10-23 19:20:01 +02:00
parent d026004db3
commit 60a6dfda79
3 changed files with 5 additions and 3 deletions

3
.env
View File

@ -4,7 +4,8 @@ LANG="en_US.UTF-8"
STAGE_BUILD_PATH="build/$TARGET" STAGE_BUILD_PATH="build/$TARGET"
STAGE_ARTIFACTS_PATH="dist/$TARGET" STAGE_ARTIFACTS_PATH="dist/$TARGET"
STAGE_ARCHIVE_NAME="Passepartout" STAGE_ARCHIVE_NAME="Passepartout"
BUILD_CHANGELOG_PATH="ci/BUILD" BUILD_CHANGELOG_PATH="ci/CHANGELOG"
BUILD_DESCRIPTION_PATH="ci/DESCRIPTION"
GYM_SCHEME="Passepartout-iOS" GYM_SCHEME="Passepartout-iOS"
MATCH_READONLY="true" MATCH_READONLY="true"

3
.gitignore vendored
View File

@ -13,7 +13,8 @@ fastlane/metadata/review_information
fastlane/metadata/trade_representative_contact_information fastlane/metadata/trade_representative_contact_information
build/ build/
dist/ dist/
ci/BUILD ci/CHANGELOG
ci/DESCRIPTION
.env.secret* .env.secret*
Preview.html Preview.html
Gemfile.lock Gemfile.lock

View File

@ -44,7 +44,7 @@ platform :ios do
lane :beta_deploy do lane :beta_deploy do
set_build_changelog set_build_changelog
pilot( pilot(
beta_app_description: lane_context[SharedValues::FL_CHANGELOG] beta_app_description: File.read("../#{ENV["BUILD_DESCRIPTION_PATH"]}")
) )
end end