Skip to content

Commit

Permalink
update fastlane
Browse files Browse the repository at this point in the history
  • Loading branch information
bwees committed Aug 30, 2024
1 parent 02fe057 commit bab7587
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 8 deletions.
14 changes: 12 additions & 2 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ platform :ios do

match(
type: 'development',
app_identifier: 'com.bwees.reveille-rides',
app_identifier: ['com.bwees.reveille-rides', 'com.bwees.reveille-rides.watch'],
readonly: true,
git_basic_authorization: Base64.strict_encode64(ENV["GIT_AUTHORIZATION"])
)

match(
type: 'appstore',
app_identifier: 'com.bwees.reveille-rides',
app_identifier: ['com.bwees.reveille-rides', 'com.bwees.reveille-rides.watch'],
readonly: true,
git_basic_authorization: Base64.strict_encode64(ENV["GIT_AUTHORIZATION"])
)
Expand All @@ -55,6 +55,7 @@ platform :ios do
teamid: TEAM_ID
)

# iOS App
update_project_provisioning(
xcodeproj: "ios/MaroonRides.xcodeproj",
profile: ENV["sigh_com.bwees.reveille-rides_appstore_profile-path"],
Expand All @@ -79,6 +80,15 @@ platform :ios do
sdk: "iphoneos*",
)

update_code_signing_settings(
use_automatic_signing: false,
path: "ios/MaroonRides.xcodeproj",
team_id: TEAM_ID,
bundle_identifier: "com.bwees.reveille-rides",
code_sign_identity: "iPhone Distribution",
sdk: "iphoneos*",
)

# set ITSAppUsesNonExemptEncryption to false, prevents Missing Compliance error in TF
set_info_plist_value(
path: "ios/MaroonRides/Info.plist",
Expand Down
25 changes: 19 additions & 6 deletions fastlane/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,34 @@ For _fastlane_ installation instructions, see [Installing _fastlane_](https://do

Setup generated Xcode project for build

### ios release
### ios build

```sh
[bundle exec] fastlane ios release
[bundle exec] fastlane ios build
```

Push a new release build to the App Store
Push a new build to TestFlight

### ios beta
----


## Android

### android build

```sh
[bundle exec] fastlane android build
```

Build APK with Gradle

### android upload

```sh
[bundle exec] fastlane ios beta
[bundle exec] fastlane android upload
```

Push a new beta build to TestFlight
Push a new build to Google Play Store

----

Expand Down

0 comments on commit bab7587

Please sign in to comment.