fix build naming

This commit is contained in:
Fabian Freund
2026-07-30 07:37:43 +02:00
parent 33dfcf890c
commit f18b8ec185
3 changed files with 13 additions and 15 deletions
+3 -3
View File
@@ -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)
+8 -10
View File
@@ -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'
}
+2 -2
View File
@@ -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: |