diff --git a/lib/providers/update_provider.dart b/lib/providers/update_provider.dart index bc34ea8..50fcb80 100644 --- a/lib/providers/update_provider.dart +++ b/lib/providers/update_provider.dart @@ -51,7 +51,9 @@ class UpdateNotifier extends Notifier { state = state.copyWith(status: UpdateStatus.checking); try { final packageInfo = await PackageInfo.fromPlatform(); - final currentVersion = packageInfo.version; + // Combine versionName + buildNumber to match the YY.MM.DD.N tag format. + final currentVersion = + '${packageInfo.version}.${packageInfo.buildNumber}'; // Parse repo URL → Forgejo API endpoint final uri = Uri.parse(repoUrl); diff --git a/pubspec.yaml b/pubspec.yaml index 32c46f5..8e13841 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: fabled_app description: "FabledAssistant mobile client for Android." publish_to: 'none' -version: 1.0.0+1 +version: 26.03.01+1 environment: sdk: ^3.11.0