Upload tvOS build to TestFlight (#449)

Update the release workflow by adding tvOS to the matrix. The build job
should work, not 100% sure about pilot.
This commit is contained in:
Davide De Rosa 2024-01-06 10:55:44 +01:00 committed by GitHub
parent 60ed10e45e
commit f13b4d0768
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 3 deletions

View File

@ -1,6 +1,7 @@
INFO_PLIST_ROOT="Passepartout/App"
MATCH_PLATFORM="ios"
GYM_SCHEME="Passepartout"
GYM_DESTINATION="generic/platform=iOS"
DELIVER_PLATFORM="ios"
DELIVER_METADATA_PATH="Passepartout/App/fastlane/ios/metadata"
DELIVER_SCREENSHOTS_PATH="Passepartout/App/fastlane/ios/screenshots"

View File

@ -3,6 +3,7 @@ MATCH_PLATFORM="catalyst"
MATCH_ADDITIONAL_CERT_TYPES="mac_installer_distribution"
GYM_SCHEME="Passepartout"
GYM_CATALYST_PLATFORM="macos"
GYM_DESTINATION="generic/platform=macOS"
DELIVER_PLATFORM="osx"
DELIVER_METADATA_PATH="Passepartout/App/fastlane/mac/metadata"
DELIVER_SCREENSHOTS_PATH="Passepartout/App/fastlane/mac/screenshots"

View File

@ -1,6 +1,7 @@
INFO_PLIST_ROOT="Passepartout/App"
MATCH_PLATFORM="tvos"
GYM_SCHEME="Passepartout"
GYM_DESTINATION="generic/platform=tvOS"
DELIVER_PLATFORM="appletvos"
DELIVER_METADATA_PATH="Passepartout/App/fastlane/tvos/metadata"
DELIVER_SCREENSHOTS_PATH="Passepartout/App/fastlane/tvos/screenshots"

View File

@ -85,10 +85,10 @@ jobs:
PILOT_NOTIFY_EXTERNAL_TESTERS: ${{ secrets.PILOT_NOTIFY_EXTERNAL_TESTERS }}
CHANGELOG_PREFACE: ${{ secrets.CHANGELOG_PREFACE }}
run: |
if [ $PLATFORM == "ios" ]; then
export PILOT_IPA="$GYM_OUTPUT_DIRECTORY/Passepartout.ipa"
else
if [ $PLATFORM == "mac" ]; then
export PILOT_PKG="$GYM_OUTPUT_DIRECTORY/Passepartout.pkg"
else
export PILOT_IPA="$GYM_OUTPUT_DIRECTORY/Passepartout.ipa"
fi
export PILOT_CHANGELOG=`ci/build-changelog.sh $PLATFORM`
bundle exec fastlane --env $PLATFORM,beta run pilot