ios: add initial Fastlane integration
Used for building and deploying builds to TestFlight and the App Store.
This commit is contained in:
parent
515d2f11ce
commit
c203a452f7
|
@ -35,6 +35,7 @@ xcuserdata
|
|||
DerivedData
|
||||
*.hmap
|
||||
*.ipa
|
||||
*.dSYM.zip
|
||||
*.xcuserstate
|
||||
project.xcworkspace
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
app_identifier("com.atlassian.JitsiMeet.ios") # The bundle identifier of your app
|
||||
itc_team_id("304592") # App Store Connect Team ID
|
||||
team_id("FC967L3QRG") # Developer Portal Team ID
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
default_platform(:ios)
|
||||
|
||||
platform :ios do
|
||||
desc "Push a new beta build to TestFlight"
|
||||
lane :beta do
|
||||
# Set the app identifier
|
||||
update_app_identifier(
|
||||
xcodeproj: "app/app.xcodeproj",
|
||||
plist_path: "src/Info.plist",
|
||||
app_identifier: "com.atlassian.JitsiMeet.ios"
|
||||
)
|
||||
|
||||
# Inrement the build number by 1
|
||||
increment_build_number(
|
||||
build_number: latest_testflight_build_number + 1,
|
||||
xcodeproj: "app/app.xcodeproj"
|
||||
)
|
||||
|
||||
# Actually build the app
|
||||
build_app(scheme: "jitsi-meet", include_bitcode: false)
|
||||
|
||||
# Upload the build to TestFlight (but don't distribute it)
|
||||
upload_to_testflight(skip_submission: true, skip_waiting_for_build_processing: true)
|
||||
|
||||
# Cleanup
|
||||
clean_build_artifacts
|
||||
end
|
||||
end
|
|
@ -0,0 +1,29 @@
|
|||
fastlane documentation
|
||||
================
|
||||
# Installation
|
||||
|
||||
Make sure you have the latest version of the Xcode command line tools installed:
|
||||
|
||||
```
|
||||
xcode-select --install
|
||||
```
|
||||
|
||||
Install _fastlane_ using
|
||||
```
|
||||
[sudo] gem install fastlane -NV
|
||||
```
|
||||
or alternatively using `brew cask install fastlane`
|
||||
|
||||
# Available Actions
|
||||
## iOS
|
||||
### ios beta
|
||||
```
|
||||
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).
|
Loading…
Reference in New Issue