From f18b8ec18516a7fe0fe1e6bf90a7ee790f60e499 Mon Sep 17 00:00:00 2001 From: Fabian Freund Date: Thu, 30 Jul 2026 07:37:43 +0200 Subject: [PATCH] fix build naming --- .github/workflows/build.yml | 6 +++--- apps/weblibre/android/app/build.gradle | 18 ++++++++---------- pubspec.yaml | 4 ++-- 3 files changed, 13 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 549c7559..0b901891 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -147,9 +147,9 @@ jobs: IPTPROXY_SOURCE: ${{ runner.temp }}/IPtProxy run: melos run build-go-runtime --no-select - - name: Build APK (Alpha, Impeller) + - name: Build APK (Alpha) if: steps.build-type.outputs.is_prerelease == 'true' - run: melos run build-browser-alpha-impeller --no-select + run: melos run build-browser-alpha --no-select - name: Build APK (Alpha, Legacy renderer) if: steps.build-type.outputs.is_prerelease == 'true' @@ -168,7 +168,7 @@ jobs: if: steps.build-type.outputs.is_prerelease == 'true' uses: ncipollo/release-action@v1.17.0 with: - artifacts: "apps/weblibre/build/app/outputs/apk/alphaImpeller/release/*.apk,apps/weblibre/build/app/outputs/apk/alphaLegacy/release/*.apk" + artifacts: "apps/weblibre/build/app/outputs/apk/alpha/release/*.apk,apps/weblibre/build/app/outputs/apk/alphaLegacy/release/*.apk" prerelease: true - name: Create github artifact release (Full) diff --git a/apps/weblibre/android/app/build.gradle b/apps/weblibre/android/app/build.gradle index 2c2463ab..7678e5e4 100644 --- a/apps/weblibre/android/app/build.gradle +++ b/apps/weblibre/android/app/build.gradle @@ -55,12 +55,13 @@ android { dimension "track" manifestPlaceholders = [appName: "WebLibre"] } - // Same alpha release slot (applicationId/versionName suffix), split into - // two variants so Impeller and the legacy Skia renderer can be compared - // side by side. The renderer is chosen at Flutter engine startup via a - // manifest meta-data flag and cannot be switched at runtime, hence two - // separate builds rather than a single toggle. - alphaImpeller { + // "alpha" stays the default alpha build (Impeller, as before this split) so + // existing tooling/filters keyed on the "alpha" name keep working. + // alphaLegacy is an additional variant using the legacy Skia renderer, for + // side-by-side comparison. The renderer is chosen at Flutter engine + // startup via a manifest meta-data flag and cannot be switched at + // runtime, hence a separate build rather than a single toggle. + alpha { dimension "track" applicationIdSuffix ".alpha" versionNameSuffix "-alpha" @@ -75,10 +76,7 @@ android { } sourceSets { - // Both alpha variants share the existing alpha launcher icon/branding. - alphaImpeller { - res.srcDirs += 'src/alpha/res' - } + // alphaLegacy shares the existing alpha launcher icon/branding. alphaLegacy { res.srcDirs += 'src/alpha/res' } diff --git a/pubspec.yaml b/pubspec.yaml index c44eaf78..8cf8ba4d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -94,12 +94,12 @@ melos: set -e cd apps/weblibre flutter build apk --release --flavor stable --target-platform android-arm,android-arm64 --split-per-abi --no-tree-shake-icons - build-browser-alpha-impeller: + build-browser-alpha: description: Build arm64 alpha release APK with Impeller enabled (side-by-side installable with stable) run: | set -e cd apps/weblibre - flutter build apk --release --flavor alphaImpeller --target-platform android-arm64 --no-tree-shake-icons + flutter build apk --release --flavor alpha --target-platform android-arm64 --no-tree-shake-icons build-browser-alpha-legacy: description: Build arm64 alpha release APK with the legacy Skia renderer (side-by-side installable with stable) run: |