home-assistant: Pull translations and locales_config.xml and update Home Assistant

This commit is contained in:
Timothy 2025-11-12 10:46:16 +00:00 committed by linsui
parent 486cad177c
commit d15a063162

View file

@ -864,6 +864,38 @@ Builds:
scandelete:
- build-logic
- versionName: 2025.11.1-minimal
versionCode: 18678
commit: 2025.11.1
subdir: app
gradle:
- minimal
rm:
- automotive
- wear
prebuild:
- export VERSION_NO_FLAVOR="$(echo '$$VERSION$$' | sed 's/-minimal$//')"
- export RELEASE_URL="https://github.com/home-assistant/android/releases/download/${VERSION_NO_FLAVOR}/"
- curl -L -f "${RELEASE_URL}strings.zip" -o ../strings.zip
- unzip -n ../strings.zip -d ..
- rm -rf ../strings.zip
- curl -L -f "${RELEASE_URL}locales_config.xml" -o ../app/src/main/res/xml/locales_config.xml
- cp ../.github/mock-google-services.json google-services.json
- sed -i -e '/firebaseAppDistribution {/,/}/d' -e '/firebase/d' -e '/com.google.gms/d'
-e '/google.services/d' -e '/googleServices {/,/}/d' build.gradle.kts
- sed -i -e '/firebase/d' -e '/google.services/d' ../build.gradle.kts
- sed -i -e 's/, ":wear", ":automotive"//' ../settings.gradle.kts
- sed -i -e '/-minimal/d' ../build-logic/convention/src/main/kotlin/AndroidFullMinimalFlavorConventionPlugin.kt
- sed -i -e 's/project.version.toString()/"$$VERSION$$"/' -e 's/System.getenv("VERSION_CODE")/"$$VERCODE$$"/'
-e '/signingConfigs {/,+9d' -e '/signingConfigs/d' ../build-logic/convention/src/main/kotlin/AndroidApplicationConventionPlugin.kt
- sed -i -e 's/val versionName = .*/val versionName = "$$VERSION$$"/' -e 's/val
versionCode = .*/val versionCode = $$VERCODE$$/' ../common/build.gradle.kts
- sed -i -e '/androidGradlePlugin/s/8.12.2/8.11.1/' ../gradle/libs.versions.toml
- sed -i -e '/implementation(libs.kotlinx.coroutines.play.services)/d' -e '/implementation(libs.play.services.wearable)/d'
../testing-unit/build.gradle.kts
scandelete:
- build-logic
MaintainerNotes: |-
6 versions, due to the rapid release there may be a trailing error
(which bothers only some users) and it takes time to fix.
@ -871,5 +903,5 @@ MaintainerNotes: |-
AutoUpdateMode: Version +-minimal %v
UpdateCheckMode: HTTP
UpdateCheckData: https://github.com/home-assistant/android/releases/latest/download/version_code.txt|(\d+)|https://github.com/home-assistant/android/releases/latest|tree/([\d.]+)"
CurrentVersion: 2025.9.2
CurrentVersionCode: 17742
CurrentVersion: 2025.11.1
CurrentVersionCode: 18678