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:
parent
60ed10e45e
commit
f13b4d0768
1
.env.ios
1
.env.ios
|
@ -1,6 +1,7 @@
|
||||||
INFO_PLIST_ROOT="Passepartout/App"
|
INFO_PLIST_ROOT="Passepartout/App"
|
||||||
MATCH_PLATFORM="ios"
|
MATCH_PLATFORM="ios"
|
||||||
GYM_SCHEME="Passepartout"
|
GYM_SCHEME="Passepartout"
|
||||||
|
GYM_DESTINATION="generic/platform=iOS"
|
||||||
DELIVER_PLATFORM="ios"
|
DELIVER_PLATFORM="ios"
|
||||||
DELIVER_METADATA_PATH="Passepartout/App/fastlane/ios/metadata"
|
DELIVER_METADATA_PATH="Passepartout/App/fastlane/ios/metadata"
|
||||||
DELIVER_SCREENSHOTS_PATH="Passepartout/App/fastlane/ios/screenshots"
|
DELIVER_SCREENSHOTS_PATH="Passepartout/App/fastlane/ios/screenshots"
|
||||||
|
|
1
.env.mac
1
.env.mac
|
@ -3,6 +3,7 @@ MATCH_PLATFORM="catalyst"
|
||||||
MATCH_ADDITIONAL_CERT_TYPES="mac_installer_distribution"
|
MATCH_ADDITIONAL_CERT_TYPES="mac_installer_distribution"
|
||||||
GYM_SCHEME="Passepartout"
|
GYM_SCHEME="Passepartout"
|
||||||
GYM_CATALYST_PLATFORM="macos"
|
GYM_CATALYST_PLATFORM="macos"
|
||||||
|
GYM_DESTINATION="generic/platform=macOS"
|
||||||
DELIVER_PLATFORM="osx"
|
DELIVER_PLATFORM="osx"
|
||||||
DELIVER_METADATA_PATH="Passepartout/App/fastlane/mac/metadata"
|
DELIVER_METADATA_PATH="Passepartout/App/fastlane/mac/metadata"
|
||||||
DELIVER_SCREENSHOTS_PATH="Passepartout/App/fastlane/mac/screenshots"
|
DELIVER_SCREENSHOTS_PATH="Passepartout/App/fastlane/mac/screenshots"
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
INFO_PLIST_ROOT="Passepartout/App"
|
INFO_PLIST_ROOT="Passepartout/App"
|
||||||
MATCH_PLATFORM="tvos"
|
MATCH_PLATFORM="tvos"
|
||||||
GYM_SCHEME="Passepartout"
|
GYM_SCHEME="Passepartout"
|
||||||
|
GYM_DESTINATION="generic/platform=tvOS"
|
||||||
DELIVER_PLATFORM="appletvos"
|
DELIVER_PLATFORM="appletvos"
|
||||||
DELIVER_METADATA_PATH="Passepartout/App/fastlane/tvos/metadata"
|
DELIVER_METADATA_PATH="Passepartout/App/fastlane/tvos/metadata"
|
||||||
DELIVER_SCREENSHOTS_PATH="Passepartout/App/fastlane/tvos/screenshots"
|
DELIVER_SCREENSHOTS_PATH="Passepartout/App/fastlane/tvos/screenshots"
|
||||||
|
|
|
@ -85,10 +85,10 @@ jobs:
|
||||||
PILOT_NOTIFY_EXTERNAL_TESTERS: ${{ secrets.PILOT_NOTIFY_EXTERNAL_TESTERS }}
|
PILOT_NOTIFY_EXTERNAL_TESTERS: ${{ secrets.PILOT_NOTIFY_EXTERNAL_TESTERS }}
|
||||||
CHANGELOG_PREFACE: ${{ secrets.CHANGELOG_PREFACE }}
|
CHANGELOG_PREFACE: ${{ secrets.CHANGELOG_PREFACE }}
|
||||||
run: |
|
run: |
|
||||||
if [ $PLATFORM == "ios" ]; then
|
if [ $PLATFORM == "mac" ]; then
|
||||||
export PILOT_IPA="$GYM_OUTPUT_DIRECTORY/Passepartout.ipa"
|
|
||||||
else
|
|
||||||
export PILOT_PKG="$GYM_OUTPUT_DIRECTORY/Passepartout.pkg"
|
export PILOT_PKG="$GYM_OUTPUT_DIRECTORY/Passepartout.pkg"
|
||||||
|
else
|
||||||
|
export PILOT_IPA="$GYM_OUTPUT_DIRECTORY/Passepartout.ipa"
|
||||||
fi
|
fi
|
||||||
export PILOT_CHANGELOG=`ci/build-changelog.sh $PLATFORM`
|
export PILOT_CHANGELOG=`ci/build-changelog.sh $PLATFORM`
|
||||||
bundle exec fastlane --env $PLATFORM,beta run pilot
|
bundle exec fastlane --env $PLATFORM,beta run pilot
|
||||||
|
|
Loading…
Reference in New Issue