ci: Migrate Android Play Store deployment from GitHub Actions to Jenkins using Fastlane.

This commit is contained in:
Van Leemput Dayron
2025-12-08 16:11:40 +01:00
parent bf48971dc4
commit 1f93a4e42d
5 changed files with 85 additions and 55 deletions

16
android/fastlane/Fastfile Normal file
View File

@@ -0,0 +1,16 @@
default_platform(:android)
platform :android do
desc "Deploy to Internal Testing"
lane :deploy_internal do
# Build de l'application
sh "cd ../.. && flutter build appbundle --release"
# Upload vers Google Play
upload_to_play_store(
track: 'internal', # 'internal' = Test interne, 'alpha' = Test fermé
aab: '../build/app/outputs/bundle/release/app-release.aab',
json_key: ENV['GOOGLE_JSON_KEY_PATH'] # Jenkins remplit cette variable magiquement
)
end
end