gearing up towards a working build pipeline
Some checks failed
Some checks failed
This commit is contained in:
8
frontend/ios/fastlane/Appfile
Normal file
8
frontend/ios/fastlane/Appfile
Normal file
@@ -0,0 +1,8 @@
|
||||
app_identifier("info.anydev.testing") # The bundle identifier of your app
|
||||
apple_id("me@moll.re") # Your Apple Developer Portal username
|
||||
|
||||
itc_team_id("127439860") # App Store Connect Team ID
|
||||
team_id("L32Y3D8V83") # Developer Portal Team ID
|
||||
|
||||
# For more information about the Appfile, see:
|
||||
# https://docs.fastlane.tools/advanced/#appfile
|
47
frontend/ios/fastlane/Fastfile
Normal file
47
frontend/ios/fastlane/Fastfile
Normal file
@@ -0,0 +1,47 @@
|
||||
|
||||
|
||||
default_platform(:ios)
|
||||
|
||||
platform :ios do
|
||||
before_all do
|
||||
load_asc_api_token
|
||||
end
|
||||
|
||||
desc "Load the App Store Connect API token"
|
||||
lane :load_asc_api_token do
|
||||
app_store_connect_api_key(
|
||||
key_id: ENV["ASC_KEY_ID"],
|
||||
issuer_id: ENV["ASC_ISSUER_ID"],
|
||||
key_content: ENV["ASC_KEY_P8"],
|
||||
is_key_content_base64: true,
|
||||
in_house: false
|
||||
)
|
||||
end
|
||||
|
||||
desc "Push a new beta build to TestFlight"
|
||||
lane :deploy_testing do
|
||||
api_key = lane_context[SharedValues::APP_STORE_CONNECT_API_KEY]
|
||||
sync_code_signing(
|
||||
api_key: api_key,
|
||||
type: "appstore",
|
||||
readonly: true,
|
||||
)
|
||||
|
||||
sh(
|
||||
"flutter",
|
||||
"build",
|
||||
"ipa",
|
||||
"--release",
|
||||
"--build-name=1.0.10",
|
||||
"--build-number=4"
|
||||
)
|
||||
# sign the app (whithout rebuilding it)
|
||||
build_app(
|
||||
skip_build_archive: true,
|
||||
archive_path: "../build/ios/archive/Runner.xarchive"
|
||||
)
|
||||
upload_to_testflight
|
||||
end
|
||||
end
|
||||
|
||||
|
8
frontend/ios/fastlane/Matchfile
Normal file
8
frontend/ios/fastlane/Matchfile
Normal file
@@ -0,0 +1,8 @@
|
||||
git_url("ssh://git@git.kluster.moll.re:2222/anydev/anyway-app-secrets.git")
|
||||
|
||||
storage_mode("git")
|
||||
|
||||
type("appstore") # The default type, can be: appstore, adhoc, enterprise or development
|
||||
|
||||
app_identifier(["info.anydev.anyway"])
|
||||
username("me@moll.re") # Your Apple Developer Portal username
|
48
frontend/ios/fastlane/README.md
Normal file
48
frontend/ios/fastlane/README.md
Normal file
@@ -0,0 +1,48 @@
|
||||
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 load_asc_api_token
|
||||
|
||||
```sh
|
||||
[bundle exec] fastlane ios load_asc_api_token
|
||||
```
|
||||
|
||||
Load the App Store Connect API token
|
||||
|
||||
### ios beta
|
||||
|
||||
```sh
|
||||
[bundle exec] fastlane ios beta
|
||||
```
|
||||
|
||||
Push a new beta build to TestFlight
|
||||
|
||||
### ios deploy_testing
|
||||
|
||||
```sh
|
||||
[bundle exec] fastlane ios deploy_testing
|
||||
```
|
||||
|
||||
|
||||
|
||||
----
|
||||
|
||||
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