mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-05 16:04:43 +00:00
* feat(release): publish store screenshots from the repo Stable releases now upload the committed store renders: the App Store review lane attaches the iPhone and iPad sets to the version it submits, and a new Play lane replaces the phone and tablet screenshots after the Android submit. F-Droid reads the same Android files, which now link to the store renders instead of the website images. The Play lane needs its own copy of the submit service-account key (GOOGLE_PLAY_JSON_KEY in the EAS production environment) because the key Expo stores for eas submit is not available to custom jobs, and EAS Metadata does not handle screenshots for either store. * fix(release): rewrite the Android screenshot links on every render Google Play and F-Droid read numbered links to the Google renders. The renderer now rewrites them from the panels it exported, so adding or renaming a panel reaches all three stores.
73 lines
1.7 KiB
YAML
73 lines
1.7 KiB
YAML
name: Release Mobile
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "v*"
|
|
- "!v*-rc.*"
|
|
- "!v*-beta.*"
|
|
workflow_dispatch: {}
|
|
|
|
jobs:
|
|
build_ios:
|
|
name: Build iOS
|
|
type: build
|
|
params:
|
|
platform: ios
|
|
profile: production
|
|
|
|
build_android:
|
|
name: Build Android
|
|
type: build
|
|
params:
|
|
platform: android
|
|
profile: production
|
|
|
|
distribute_ios:
|
|
name: Distribute iOS to TestFlight
|
|
needs: [build_ios]
|
|
type: testflight
|
|
params:
|
|
build_id: ${{ needs.build_ios.outputs.build_id }}
|
|
profile: production
|
|
external_groups:
|
|
- Paseo Beta
|
|
submit_beta_review: true
|
|
|
|
submit_android:
|
|
name: Submit Android
|
|
needs: [build_android]
|
|
type: submit
|
|
params:
|
|
build_id: ${{ needs.build_android.outputs.build_id }}
|
|
profile: production
|
|
|
|
upload_android_screenshots:
|
|
name: Upload Google Play screenshots
|
|
needs: [build_android, submit_android]
|
|
environment: production
|
|
runs_on: macos-medium
|
|
steps:
|
|
- uses: eas/checkout
|
|
- name: Install fastlane
|
|
run: bundle install
|
|
- name: Upload screenshots
|
|
run: |
|
|
export ANDROID_VERSION_CODE="${{ needs.build_android.outputs.app_build_version }}"
|
|
bundle exec fastlane android upload_screenshots
|
|
|
|
submit_ios_for_review:
|
|
name: Submit iOS for App Store review
|
|
needs: [build_ios, distribute_ios]
|
|
environment: production
|
|
runs_on: macos-medium
|
|
steps:
|
|
- uses: eas/checkout
|
|
- name: Install fastlane
|
|
run: bundle install
|
|
- name: Submit for review
|
|
run: |
|
|
export APP_VERSION="${{ needs.build_ios.outputs.app_version }}"
|
|
export APP_BUILD_VERSION="${{ needs.build_ios.outputs.app_build_version }}"
|
|
bundle exec fastlane ios submit_review
|