mirror of
https://github.com/d4rken-org/capod.git
synced 2026-09-14 18:26:11 -04:00
Both supply lanes staged uploads at 10% of the beta track, which left the remaining 90% waiting on a manual Play Console rollout step for every release. Beta-track users have already opted in, so staging within that audience adds a manual gate without adding safety. Promotion from the beta track to production stays manual.
93 lines
2.4 KiB
Ruby
93 lines
2.4 KiB
Ruby
# Customise this file, documentation can be found here:
|
|
# https://docs.fastlane.tools/actions/
|
|
# All available actions: https://docs.fastlane.tools/actions
|
|
# can also be listed using the `fastlane actions` command
|
|
|
|
# Change the syntax highlighting to Ruby
|
|
# All lines starting with a # are ignored when running `fastlane`
|
|
|
|
# If you want to automatically update fastlane if a new version is available:
|
|
# update_fastlane
|
|
|
|
# This is the minimum version number required.
|
|
# Update this, if you use features of a newer version
|
|
fastlane_version "2.226.0"
|
|
|
|
default_platform :android
|
|
|
|
platform :android do
|
|
before_all do
|
|
#ensure_git_status_clean
|
|
end
|
|
|
|
lane :beta do
|
|
gradle(task: 'clean bundleGplayBeta')
|
|
sh "bash ./remove_unsupported_languages.sh"
|
|
supply(
|
|
track: 'beta',
|
|
rollout: '1.0',
|
|
package_name: 'eu.darken.capod',
|
|
skip_upload_changelogs: 'false',
|
|
skip_upload_apk: 'true',
|
|
skip_upload_images: 'true',
|
|
skip_upload_screenshots: 'true',
|
|
skip_upload_metadata: 'true',
|
|
)
|
|
end
|
|
|
|
lane :production do
|
|
gradle(task: 'clean bundleGplayRelease')
|
|
sh "bash ./remove_unsupported_languages.sh"
|
|
supply(
|
|
track: 'beta',
|
|
rollout: '1.0',
|
|
package_name: 'eu.darken.capod',
|
|
skip_upload_changelogs: 'false',
|
|
skip_upload_apk: 'true',
|
|
skip_upload_images: 'true',
|
|
skip_upload_screenshots: 'true',
|
|
skip_upload_metadata: 'true',
|
|
)
|
|
end
|
|
|
|
lane :listing_only do
|
|
sh "bash ./remove_unsupported_languages.sh"
|
|
supply(
|
|
track: 'production',
|
|
skip_upload_apk: 'true',
|
|
skip_upload_images: 'true',
|
|
skip_upload_screenshots: 'true',
|
|
skip_upload_changelogs: true,
|
|
skip_upload_aab: 'true'
|
|
)
|
|
end
|
|
|
|
lane :screenshots_only do
|
|
sh "bash ./remove_unsupported_languages.sh"
|
|
supply(
|
|
track: 'production',
|
|
package_name: 'eu.darken.capod',
|
|
skip_upload_apk: 'true',
|
|
skip_upload_aab: 'true',
|
|
skip_upload_metadata: 'true',
|
|
skip_upload_changelogs: 'true',
|
|
skip_upload_images: 'true',
|
|
skip_upload_screenshots: 'false',
|
|
)
|
|
end
|
|
|
|
after_all do |lane|
|
|
# This block is called, only if the executed lane was successful
|
|
|
|
# slack(
|
|
# message: "Successfully deployed new App Update."
|
|
# )
|
|
end
|
|
|
|
error do |lane, exception|
|
|
# slack(
|
|
# message: exception.message,
|
|
# success: false
|
|
# )
|
|
end
|
|
end |