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 IPTPROXY_SOURCE: ${{ runner.temp }}/IPtProxy
run: melos run build-go-runtime --no-select 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' 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) - name: Build APK (Alpha, Legacy renderer)
if: steps.build-type.outputs.is_prerelease == 'true' if: steps.build-type.outputs.is_prerelease == 'true'
@@ -168,7 +168,7 @@ jobs:
if: steps.build-type.outputs.is_prerelease == 'true' if: steps.build-type.outputs.is_prerelease == 'true'
uses: ncipollo/release-action@v1.17.0 uses: ncipollo/release-action@v1.17.0
with: 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 prerelease: true
- name: Create github artifact release (Full) - name: Create github artifact release (Full)
+8 -10
View File
@@ -55,12 +55,13 @@ android {
dimension "track" dimension "track"
manifestPlaceholders = [appName: "WebLibre"] manifestPlaceholders = [appName: "WebLibre"]
} }
// Same alpha release slot (applicationId/versionName suffix), split into // "alpha" stays the default alpha build (Impeller, as before this split) so
// two variants so Impeller and the legacy Skia renderer can be compared // existing tooling/filters keyed on the "alpha" name keep working.
// side by side. The renderer is chosen at Flutter engine startup via a // alphaLegacy is an additional variant using the legacy Skia renderer, for
// manifest meta-data flag and cannot be switched at runtime, hence two // side-by-side comparison. The renderer is chosen at Flutter engine
// separate builds rather than a single toggle. // startup via a manifest meta-data flag and cannot be switched at
alphaImpeller { // runtime, hence a separate build rather than a single toggle.
alpha {
dimension "track" dimension "track"
applicationIdSuffix ".alpha" applicationIdSuffix ".alpha"
versionNameSuffix "-alpha" versionNameSuffix "-alpha"
@@ -75,10 +76,7 @@ android {
} }
sourceSets { sourceSets {
// Both alpha variants share the existing alpha launcher icon/branding. // alphaLegacy shares the existing alpha launcher icon/branding.
alphaImpeller {
res.srcDirs += 'src/alpha/res'
}
alphaLegacy { alphaLegacy {
res.srcDirs += 'src/alpha/res' res.srcDirs += 'src/alpha/res'
} }
+2 -2
View File
@@ -94,12 +94,12 @@ melos:
set -e set -e
cd apps/weblibre cd apps/weblibre
flutter build apk --release --flavor stable --target-platform android-arm,android-arm64 --split-per-abi --no-tree-shake-icons 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) description: Build arm64 alpha release APK with Impeller enabled (side-by-side installable with stable)
run: | run: |
set -e set -e
cd apps/weblibre 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: build-browser-alpha-legacy:
description: Build arm64 alpha release APK with the legacy Skia renderer (side-by-side installable with stable) description: Build arm64 alpha release APK with the legacy Skia renderer (side-by-side installable with stable)
run: | run: |