Cleanup iOS Fastfile
This commit is contained in:
parent
ccb5e48820
commit
39530afeb2
|
@ -25,7 +25,26 @@ platform :ios do
|
|||
)
|
||||
end
|
||||
|
||||
desc "Submit a new Beta Build to Apple TestFlight"
|
||||
desc "Build"
|
||||
lane :build do
|
||||
api_key = app_store_connect_api_key(
|
||||
key_id: ENV["APP_STORE_CONNECT_API_KEY_ID"],
|
||||
issuer_id: ENV["APP_STORE_CONNECT_API_KEY_ISSUER_ID"],
|
||||
key_filepath: 'fastlane/app_store_connect_api_key.p8',
|
||||
in_house: false
|
||||
)
|
||||
match(type: "appstore")
|
||||
get_provisioning_profile(app_identifier: "chat.rocket.ios.Rocket-Chat-ShareExtension")
|
||||
get_provisioning_profile(app_identifier: "chat.rocket.ios.NotificationService")
|
||||
# pem(api_key: api_key) # still uses Spaceship http://docs.fastlane.tools/actions/pem/#how-does-it-work
|
||||
gym(
|
||||
scheme: "RocketChat",
|
||||
workspace: "RocketChatRN.xcworkspace",
|
||||
output_name: "Rocket.Chat"
|
||||
)
|
||||
end
|
||||
|
||||
desc "Upload build to TestFlight"
|
||||
lane :beta do |options|
|
||||
api_key = app_store_connect_api_key(
|
||||
key_id: ENV["APP_STORE_CONNECT_API_KEY_ID"],
|
||||
|
@ -48,25 +67,6 @@ platform :ios do
|
|||
)
|
||||
end
|
||||
|
||||
desc "Build app"
|
||||
lane :build_official do
|
||||
api_key = app_store_connect_api_key(
|
||||
key_id: ENV["APP_STORE_CONNECT_API_KEY_ID"],
|
||||
issuer_id: ENV["APP_STORE_CONNECT_API_KEY_ISSUER_ID"],
|
||||
key_filepath: 'fastlane/app_store_connect_api_key.p8',
|
||||
in_house: false
|
||||
)
|
||||
match(type: "appstore")
|
||||
get_provisioning_profile(app_identifier: "chat.rocket.ios.Rocket-Chat-ShareExtension")
|
||||
get_provisioning_profile(app_identifier: "chat.rocket.ios.NotificationService")
|
||||
# pem(api_key: api_key) # still uses Spaceship http://docs.fastlane.tools/actions/pem/#how-does-it-work
|
||||
gym(
|
||||
scheme: "RocketChat",
|
||||
workspace: "RocketChatRN.xcworkspace",
|
||||
output_name: "Rocket.Chat"
|
||||
)
|
||||
end
|
||||
|
||||
after_all do |lane|
|
||||
delete_keychain(name: ENV["MATCH_KEYCHAIN_NAME"])
|
||||
end
|
||||
|
|
|
@ -15,29 +15,21 @@ For _fastlane_ installation instructions, see [Installing _fastlane_](https://do
|
|||
|
||||
## iOS
|
||||
|
||||
### ios build
|
||||
|
||||
```sh
|
||||
[bundle exec] fastlane ios build
|
||||
```
|
||||
|
||||
Build
|
||||
|
||||
### ios beta
|
||||
|
||||
```sh
|
||||
[bundle exec] fastlane ios beta
|
||||
```
|
||||
|
||||
Submit a new Beta Build to Apple TestFlight
|
||||
|
||||
### ios build_official
|
||||
|
||||
```sh
|
||||
[bundle exec] fastlane ios build_official
|
||||
```
|
||||
|
||||
Build app
|
||||
|
||||
### ios build_fork
|
||||
|
||||
```sh
|
||||
[bundle exec] fastlane ios build_fork
|
||||
```
|
||||
|
||||
Build fork app
|
||||
Upload build to TestFlight
|
||||
|
||||
----
|
||||
|
||||
|
|
Loading…
Reference in New Issue