Add iOS nightly lane to fastlane

This commit is contained in:
2020-12-06 19:09:47 +01:00
parent 6789bf3aa6
commit 3aee0e9a6a
4 changed files with 54 additions and 18 deletions

View File

@@ -42,3 +42,26 @@ platform :android do
upload_to_play_store
end
end
platform :ios do
desc "Submit a new Nightly Build to Firebase App Distribution"
lane :nightly do
Dir.chdir "../ios/circolapp/circolapp"
increment_build_number(build_number: number_of_commits)
build_app(scheme: "circolapp",
workspace: "circolapp.xcworkspace",
export_method: "ad-hoc",
export_xcargs: "-allowProvisioningUpdates",
include_bitcode: true)
changelog_from_git_commits(
between: ["HEAD~1", "HEAD"]
)
firebase_app_distribution(
app: "1:455942942122:ios:f8d0401f40144885150fd3",
groups: "closed-beta-ios"
)
end
end

View File

@@ -29,6 +29,15 @@ Deploy a new version to the Google Play
----
## iOS
### ios nightly
```
fastlane ios nightly
```
Submit a new Nightly Build to Firebase App Distribution
----
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).