feat: update fr.onyx.lyon1 to 2.0.11 and migrate it to nix build

This commit is contained in:
eymeric 2025-08-31 22:52:04 +02:00 committed by linsui
parent 85fae83c83
commit 80e15d28f8

View file

@ -218,10 +218,44 @@ Builds:
--no-tree-shake-icons
ndk: r25c
- versionName: 2.0.12
versionCode: 2054
commit: 01b6ea628038b94f97153cdc480ae88ebce3b6ed
subdir: apps/onyx
sudo:
- echo "deb https://deb.debian.org/debian trixie main" > /etc/apt/sources.list.d/trixie.list
- apt-get update
- apt-get install -y -t trixie nix-setup-systemd nix
- chown -R vagrant /nix
output: build/app/outputs/flutter-apk/app-arm64-v8a-release.apk
rm:
- apps/onyx/ios
- apps/onyx/linux
- apps/onyx/macos
- apps/onyx/web
- apps/onyx/windows
prebuild:
- mkdir -p ~/.config/nix
- echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
- export PUB_CACHE=$(pwd)/.pub-cache
- nix develop -c flutter config --no-analytics
- nix develop -c melos bootstrap
- sed -i -e 's/8.12.1/8.11.1/' .pub-cache/hosted/pub.dev/{{webview_flutter,path_provider,url_launcher,sqflite}_android,camera_android_camerax,flutter_plugin_android_lifecycle}-*/android/build.gradle
- truncate -s 0 .pub-cache/hosted/pub.dev/quill_native_bridge_linux-*/assets/xclip
scanignore:
- apps/onyx/assets/graph.json.gz
scandelete:
- apps/onyx/.pub-cache
build:
- export PUB_CACHE=$(pwd)/.pub-cache
- nix develop -c flutter build apk --release --split-per-abi --target-platform="android-arm64"
--no-tree-shake-icons
ndk: r25c
AutoUpdateMode: Version
UpdateCheckMode: Tags ^v[\d.]+$
VercodeOperation:
- '%c + 2000'
UpdateCheckData: apps/onyx/pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+
CurrentVersion: 2.0.11
CurrentVersionCode: 2053
CurrentVersion: 2.0.12
CurrentVersionCode: 2054