fix(ci): replace build lanes (#3341)

This commit is contained in:
James Rich 2025-10-04 16:30:47 -05:00 committed by GitHub
parent e8e80e6201
commit 6adb7c392e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,4 +30,27 @@ platform :android do
skip_upload_screenshots: true,
)
end
desc "Build the F-Droid release"
lane :fdroid_build do
gradle(
task: "clean assembleFdroidRelease",
properties: {
"android.injected.version.name" => ENV['VERSION_NAME'],
"android.injected.version.code" => ENV['VERSION_CODE']
}
)
end
desc "Build the Google Release"
private_lane :build_google_release do
gradle(
task: "clean bundleGoogleRelease assembleGoogleRelease",
print_command: false,
properties: {
"android.injected.version.name" => ENV['VERSION_NAME'],
"android.injected.version.code" => ENV['VERSION_CODE']
}
)
lane_context[SharedValues::GRADLE_AAB_OUTPUT_PATH]
end