From d95f8aeafe0c6b391938a08f60658842ccc305af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Sat, 7 Jun 2025 21:31:31 +0200 Subject: [PATCH] [Version 2.0.1] --- flutter/Makefile | 9 ++++++++- flutter/TODO.md | 4 ++-- flutter/pubspec.yaml | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/flutter/Makefile b/flutter/Makefile index f459fc4..835e953 100644 --- a/flutter/Makefile +++ b/flutter/Makefile @@ -6,6 +6,9 @@ # sudo archlinux-java set java-17-openjdk # +HASH=$(shell git rev-parse HEAD) +VERS=$(shell git describe --tags --abbrev=0) + java: sudo archlinux-java set java-17-openjdk java -version @@ -32,10 +35,14 @@ install-release: java gen flutter build apk --release flutter run --release -d 35221JEHN07157 -build-release: gen +build-release: java gen flutter build apk --release + cp build/app/outputs/flutter-apk/app-release.apk "_releases/v$( shell cat pubspec.yaml | grep -oP '(?<=version: ).*' )-release.apk" flutter build appbundle --release + cp build/app/outputs/bundle/app-release.aab "_releases/v$( shell cat pubspec.yaml | grep -oP '(?<=version: ).*' )-release.aab" flutter build linux --release + cp -r build/linux/x64/release/bundle "_releases/v$( shell cat pubspec.yaml | grep -oP '(?<=version: ).*' )-linux-release" + tar -czf "_releases/v$( shell cat pubspec.yaml | grep -oP '(?<=version: ).*' )-linux-release.tar.gz" -C build/linux/x64/release/bundle . test: dart analyze diff --git a/flutter/TODO.md b/flutter/TODO.md index 45762b9..c3bcfad 100644 --- a/flutter/TODO.md +++ b/flutter/TODO.md @@ -23,7 +23,7 @@ - [x] Logout - [x] Send-page - - [ ] Still @ERROR on scn-init, but no logs? - better persist error (write in SharedPrefs at error_$date=txt ?), also perhaps print first error line in scn-init notification? + - [x] Still @ERROR on scn-init, but no logs? - better persist error (write in SharedPrefs at error_$date=txt ?), also perhaps print first error line in scn-init notification? - [x] fix time format (in message-list, in card, top right) - midnight is shown as "24:05" instead of "00:05" - thats weird @@ -60,4 +60,4 @@ - [ ] Disable compat | remove code - [x] compat message title - [ ] ... - - [ ] RWLock directly in go - prevent/reduce db-locked exception + - [x] RWLock directly in go - prevent/reduce db-locked exception diff --git a/flutter/pubspec.yaml b/flutter/pubspec.yaml index 3ddb84f..4e1fe3f 100644 --- a/flutter/pubspec.yaml +++ b/flutter/pubspec.yaml @@ -2,7 +2,7 @@ name: simplecloudnotifier description: "Receive push messages" publish_to: 'none' -version: 2.0.0+484 +version: 2.0.0+489 environment: sdk: '>=3.2.6 <4.0.0'