misc fixes

This commit is contained in:
linsui 2024-09-22 23:46:34 +08:00
parent f2931eeac4
commit 4ae42ad824
4 changed files with 9 additions and 9 deletions

View file

@ -1508,6 +1508,7 @@ Builds:
binary: https://github.com/vicolo-dev/chrono/releases/download/v%v/chrono-v%v-x86_64.apk
srclibs:
- flutter@stable
- transistor-background-fetch@44fa41067fa12a2417dd404b5fac567fb68013d3
prebuild:
- version=$(sed -n -E 's/.*flutter-version:\ "(.*)"/\1/p' .github/workflows/android-release.yml)
- pushd $$flutter$$
@ -1521,6 +1522,8 @@ Builds:
- export PUB_CACHE=$(pwd)/.pub-cache
- $$flutter$$/bin/flutter config --no-analytics
- $$flutter$$/bin/flutter pub get
- sed -i -e 's/maven {.*}/mavenLocal()/' android/build.gradle
- sed -i -e '/maven {/,/^ }/cmavenLocal()' .pub-cache/hosted/pub.dev/background_fetch-*/android/build.gradle
- popd
- mv $repo/chrono com.vicolo.chrono
scandelete:
@ -1530,6 +1533,10 @@ Builds:
- cd ..
- mv com.vicolo.chrono $repo/chrono
- pushd $repo/chrono
- pushd $$transistor-background-fetch$$/android/tsbackgroundfetch/
- gradle assembleRelease
- gradle publishToMavenLocal
- popd
- export PUB_CACHE=$(pwd)/.pub-cache
- $$flutter$$/bin/flutter build apk --release --split-per-abi --target-platform="android-x64"
--flavor prod

View file

@ -83,13 +83,6 @@ Builds:
gradle:
- yes
- versionName: 0.1.32
versionCode: 32
commit: 6e803cb0c1ae2e7bf48f0a0e640ddb683cd266b0
subdir: app
gradle:
- yes
- versionName: 0.1.33
versionCode: 33
commit: 063c1f3d3401b73a6222ef8241e8cbb2f53ec2df

View file

@ -161,8 +161,7 @@ Builds:
- versionName: 1.2.2
versionCode: 9
disable: https://github.com/petlyh/JS-Dict/issues/14
commit: 9e77651938a1259dfdf9f4703c093444afe78273
commit: 890587b32cb0aacf9230bd5b053ee476c454b60b
submodules: true
output: build/app/outputs/flutter-apk/app-release.apk
prebuild:

View file

@ -62,6 +62,7 @@ Builds:
- versionName: 1.2.0
versionCode: 8
disable: https://github.com/FossifyOrg/Gallery/issues/302
commit: d5692219a15dd4653a3c431b85342fe5cda628b5
subdir: app
gradle: