mirror of
https://github.com/openMF/mobile-wallet.git
synced 2026-02-06 13:16:53 +00:00
* Configured CI/CD And Fastlane to Release App to Play Store This commit introduces a comprehensive CI/CD pipeline using Github Actions and Fastlane. The following workflows have been added: - **On Push:** Builds, archives, and creates Github pre-releases for beta builds. Deploys to Playstore internal track and promotes to beta if specified. - **Play Publish:** Builds and deploys to Playstore internal track. Optionally promotes to beta. - ** Production Deploy:** Promotes beta releases to production on the Playstore. - **Bump our Calendar Version:** Creates monthly releases. - **Tag Weekly Release:** Tags weekly releases and triggers the On Push workflow for beta builds. Additionally, Fastlane has been configured to handle deployments to the Playstore and Amazon Appstore. Secret inflation and release note generation have been automated using Github Actions. * Configured CI/CD And Fastlane to Release App to Play Store This commit introduces a comprehensive CI/CD pipeline using Github Actions and Fastlane. The following workflows have been added: - **On Push:** Builds, archives, and creates Github pre-releases for beta builds. Deploys to Playstore internal track and promotes to beta if specified. - **Play Publish:** Builds and deploys to Playstore internal track. Optionally promotes to beta. - ** Production Deploy:** Promotes beta releases to production on the Playstore. - **Bump our Calendar Version:** Creates monthly releases. - **Tag Weekly Release:** Tags weekly releases and triggers the On Push workflow for beta builds. Additionally, Fastlane has been configured to handle deployments to the Playstore and Amazon Appstore. Secret inflation and release note generation have been automated using Github Actions. * fix: Improved pre-commit and pre-push scripts * Updated Badging * Updated Badging
60 lines
1.7 KiB
Plaintext
60 lines
1.7 KiB
Plaintext
default_platform(:android)
|
|
|
|
platform :android do
|
|
desc "Deploy internal tracks to Google Play"
|
|
lane :deploy_internal do
|
|
supply(
|
|
track: 'internal',
|
|
aab: 'app/build/outputs/bundle/prod/app-prod-release.aab',
|
|
skip_upload_metadata: true,
|
|
skip_upload_images: true,
|
|
skip_upload_screenshots: true,
|
|
)
|
|
end
|
|
|
|
desc "Promote internal tracks to beta on Google Play"
|
|
lane :promote_to_beta do
|
|
supply(
|
|
track: 'internal',
|
|
track_promote_to: 'beta',
|
|
skip_upload_changelogs: true,
|
|
skip_upload_metadata: true,
|
|
skip_upload_images: true,
|
|
skip_upload_screenshots: true,
|
|
)
|
|
end
|
|
|
|
desc "Promote beta tracks to production on Google Play"
|
|
lane :promote_to_production do
|
|
supply(
|
|
track: 'beta',
|
|
track_promote_to: 'production',
|
|
skip_upload_changelogs: true,
|
|
sync_image_upload: true,
|
|
)
|
|
end
|
|
|
|
desc "Prep Amazon Appstore submission"
|
|
lane :prep_amazon do
|
|
amazon_app_submission(
|
|
client_id: ENV["AMAZON_APPSTORE_CLIENT_ID"],
|
|
client_secret: ENV["AMAZON_APPSTORE_CLIENT_SECRET"],
|
|
app_id: ENV["AMAZON_APPSTORE_APP_ID"],
|
|
apk_path: "app/build/outputs/apk/prod/release/app-prod-release.apk",
|
|
upload_apk: true,
|
|
changelogs_path: "fastlane/metadata/android/en-US/changelogs/",
|
|
upload_changelogs: true,
|
|
submit_for_review: false
|
|
)
|
|
end
|
|
|
|
desc "Submit to Amazon Appstore"
|
|
lane :submit_amazon do
|
|
amazon_app_submission(
|
|
client_id: ENV["AMAZON_APPSTORE_CLIENT_ID"],
|
|
client_secret: ENV["AMAZON_APPSTORE_CLIENT_SECRET"],
|
|
app_id: ENV["AMAZON_APPSTORE_APP_ID"],
|
|
submit_for_review: true
|
|
)
|
|
end
|
|
end |