feat(mobile): iOS app testflight (#8501)
This commit is contained in:
8
packages/frontend/apps/ios/App/fastlane/Appfile
Normal file
8
packages/frontend/apps/ios/App/fastlane/Appfile
Normal file
@@ -0,0 +1,8 @@
|
||||
app_identifier("app.affine.pro") # The bundle identifier of your app
|
||||
apple_id("yinan.long@toeverything.info") # Your Apple Developer Portal username
|
||||
|
||||
itc_team_id("126219637") # App Store Connect Team ID
|
||||
team_id("73YMMDVT2M") # Developer Portal Team ID
|
||||
|
||||
# For more information about the Appfile, see:
|
||||
# https://docs.fastlane.tools/advanced/#appfile
|
||||
36
packages/frontend/apps/ios/App/fastlane/Fastfile
Normal file
36
packages/frontend/apps/ios/App/fastlane/Fastfile
Normal file
@@ -0,0 +1,36 @@
|
||||
# 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
|
||||
|
||||
default_platform(:ios)
|
||||
|
||||
platform :ios do
|
||||
desc "Push a new beta build to TestFlight"
|
||||
lane :beta do
|
||||
api_key = app_store_connect_api_key(
|
||||
key_id: ENV['APPLE_STORE_CONNECT_API_KEY_ID'],
|
||||
issuer_id: ENV['APPLE_STORE_CONNECT_API_ISSUER_ID'],
|
||||
key_content: ENV['APPLE_STORE_CONNECT_API_KEY'],
|
||||
is_key_content_base64: true,
|
||||
duration: 1200, # optional (maximum 1200)
|
||||
in_house: false # optional but may be required if using match/sigh
|
||||
)
|
||||
increment_build_number(xcodeproj: "App.xcodeproj")
|
||||
build_app(
|
||||
workspace: "App.xcworkspace",
|
||||
scheme: "App"
|
||||
)
|
||||
upload_to_testflight(skip_waiting_for_build_processing: true, api_key: api_key) if ENV['BUILD_TARGET'] == 'distribution'
|
||||
end
|
||||
end
|
||||
31
packages/frontend/apps/ios/App/fastlane/README.md
Normal file
31
packages/frontend/apps/ios/App/fastlane/README.md
Normal file
@@ -0,0 +1,31 @@
|
||||
## fastlane documentation
|
||||
|
||||
# Installation
|
||||
|
||||
Make sure you have the latest version of the Xcode command line tools installed:
|
||||
|
||||
```sh
|
||||
xcode-select --install
|
||||
```
|
||||
|
||||
For _fastlane_ installation instructions, see [Installing _fastlane_](https://docs.fastlane.tools/#installing-fastlane)
|
||||
|
||||
# Available Actions
|
||||
|
||||
## iOS
|
||||
|
||||
### ios beta
|
||||
|
||||
```sh
|
||||
[bundle exec] fastlane ios beta
|
||||
```
|
||||
|
||||
Push a new beta build to TestFlight
|
||||
|
||||
---
|
||||
|
||||
This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run.
|
||||
|
||||
More information about _fastlane_ can be found on [fastlane.tools](https://fastlane.tools).
|
||||
|
||||
The documentation of _fastlane_ can be found on [docs.fastlane.tools](https://docs.fastlane.tools).
|
||||
Reference in New Issue
Block a user