mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-03-27 02:01:35 -04:00
chore(ci): Refine analytics task filtering and improve release debugging (#4624)
This commit is contained in:
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -176,6 +176,9 @@ jobs:
|
||||
VERSION_CODE: ${{ needs.prepare-build-info.outputs.APP_VERSION_CODE }}
|
||||
run: bundle exec fastlane internal
|
||||
|
||||
- name: List outputs
|
||||
run: ls -R app/build/outputs/
|
||||
|
||||
- name: Upload Google AAB artifact
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v6
|
||||
@@ -250,6 +253,9 @@ jobs:
|
||||
VERSION_CODE: ${{ needs.prepare-build-info.outputs.APP_VERSION_CODE }}
|
||||
run: bundle exec fastlane fdroid_build
|
||||
|
||||
- name: List outputs
|
||||
run: ls -R app/build/outputs/
|
||||
|
||||
- name: Upload F-Droid APK artifact
|
||||
uses: actions/upload-artifact@v6
|
||||
with:
|
||||
|
||||
@@ -50,7 +50,7 @@ class AnalyticsConventionPlugin : Plugin<Project> {
|
||||
// This avoids iterating all tasks with a generic filter and improves configuration performance.
|
||||
plugins.withId("com.google.gms.google-services") {
|
||||
tasks.configureEach {
|
||||
if (name.contains("fdroid", ignoreCase = true)) {
|
||||
if (name.contains("GoogleServices", ignoreCase = true) && name.contains("fdroid", ignoreCase = true)) {
|
||||
enabled = false
|
||||
}
|
||||
}
|
||||
@@ -58,7 +58,7 @@ class AnalyticsConventionPlugin : Plugin<Project> {
|
||||
|
||||
plugins.withId("com.google.firebase.crashlytics") {
|
||||
tasks.configureEach {
|
||||
if (name.contains("fdroid", ignoreCase = true)) {
|
||||
if (name.contains("Crashlytics", ignoreCase = true) && name.contains("fdroid", ignoreCase = true)) {
|
||||
enabled = false
|
||||
}
|
||||
}
|
||||
@@ -66,7 +66,7 @@ class AnalyticsConventionPlugin : Plugin<Project> {
|
||||
|
||||
plugins.withId("com.datadoghq.dd-sdk-android-gradle-plugin") {
|
||||
tasks.configureEach {
|
||||
if (name.contains("fdroid", ignoreCase = true)) {
|
||||
if ((name.contains("datadog", ignoreCase = true) || name.contains("uploadMapping", ignoreCase = true)) && name.contains("fdroid", ignoreCase = true)) {
|
||||
enabled = false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user