ci: Migrate Android Play Store deployment from GitHub Actions to Jenkins using Fastlane.
This commit is contained in:
16
android/fastlane/Fastfile
Normal file
16
android/fastlane/Fastfile
Normal 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
|
||||
Reference in New Issue
Block a user