Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ios): get iOS builds working #32

Merged
merged 2 commits into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .env.mainnet
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ SMS_RETRIEVER_APP_SIGNATURE=bU9E4ctGtIW
DEV_SETTINGS_ACTIVE_INITIALLY=false
FIREBASE_ENABLED=false
SHOW_TESTNET_BANNER=false
APP_BUNDLE_ID=org.mento.app
APP_STORE_ID=1520414263
APP_BUNDLE_ID=xyz.mobilestack.mento
Copy link

@satish-ravi satish-ravi Dec 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should other env's have a similar change? I think this may also need a change in the cab settings in the backend and auth0

APP_STORE_ID=6738967491
APP_DISPLAY_NAME=Mento
IOS_GOOGLE_SERVICE_PLIST=GoogleService-Info.mainnet.plist
SENTRY_ENABLED=true
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/release-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ on:
workflow_dispatch:

jobs:
# ios:
# uses: ./.github/workflows/release-fastlane-ios.yml
# with:
# branch: ${{ github.ref_name }}
# lanes: '["mainnet"]'
# secrets:
# gcp-service-account-key: ${{ secrets.GCP_MAINNET_RELEASE_AUTOMATION_SERVICE_ACCOUNT_KEY }}
ios:
uses: ./.github/workflows/release-fastlane-ios.yml
with:
branch: ${{ github.ref_name }}
lanes: '["mainnet"]'
secrets:
gcp-service-account-key: ${{ secrets.GCP_MAINNET_RELEASE_AUTOMATION_SERVICE_ACCOUNT_KEY }}

android:
uses: ./.github/workflows/release-fastlane-android.yml
Expand Down
9 changes: 9 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Releases

The `Release - Production` workflow in github can be run to release new versions of Mento. iOS is automated and Android requires a few extra steps.

## Android - (internal testers)

Android builds can be manually released by running the `Release - Production` workflow, downloading the bundle from github, and uploading the bundle to the playstore.
Expand All @@ -8,3 +10,10 @@ Android builds can be manually released by running the `Release - Production` wo
1. Download and unzip the android bundle which you can find in the build logs under android => fastlane-android (mainnet) => Upload Android build artifacts.
1. Navigate to [Internal Testing on the Google Play Console](https://play.google.com/console/u/0/developers/5695387721434163201/app/4974536396935190989/tracks/internal-testing) (Reach out to Silas or Jacob if you need access) and click `Create new release`. Upload the app bundle that you just dowloaded and unzipped and click `Next`. Click `Save and Publish` on the next screen.
1. You're done! Internal testers should be able to download the latest version of Mento on their android devices.

## iOS - (Testflight)

iOS builds can be manually released by running the `Release - Production` workflow.

1. Run the [Release - Production Action](https://github.com/mobilestack-xyz/mobilestack-mento/actions/workflows/release-production.yml) against the `main` branch
1. You're done! Users that have access to [Mento in Testflight](https://appstoreconnect.apple.com/teams/dcfc5c64-36b5-46a2-af36-84acc93d2b62/apps/6738967491/testflight/ios) will autmatically recieve the latest build on their iOS device.
Loading