From 15183c3a9514620ab86c009143a9b67185a73a46 Mon Sep 17 00:00:00 2001 From: Imran Remtulla Date: Mon, 5 Dec 2022 16:31:43 -0500 Subject: [PATCH] Simplified EVD (only xx.yy.zz) --- lib/main.dart | 2 +- lib/providers/source_provider.dart | 6 +++--- pubspec.yaml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 1fedab5..98c57bc 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -17,7 +17,7 @@ import 'package:device_info_plus/device_info_plus.dart'; import 'package:android_alarm_manager_plus/android_alarm_manager_plus.dart'; import 'package:easy_localization/easy_localization.dart'; -const String currentVersion = '0.8.3'; +const String currentVersion = '0.8.4'; const String currentReleaseTag = 'v$currentVersion-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES diff --git a/lib/providers/source_provider.dart b/lib/providers/source_provider.dart index bd357ef..bf38578 100644 --- a/lib/providers/source_provider.dart +++ b/lib/providers/source_provider.dart @@ -201,9 +201,9 @@ ObtainiumError getObtainiumHttpError(Response res) { } String? extractStandardVersionName(String version, {bool strict = false}) { - var match = RegExp( - '${strict ? '^' : ''}[0-9]+(\\.[0-9]+)+(-(alpha|beta|ocs)([0-9]+|\\+[0-9]+)?)?${strict ? '\$' : ''}') - .firstMatch(version); + var match = + RegExp('${strict ? '^' : ''}[0-9]+(\\.[0-9]+)+${strict ? '\$' : ''}') + .firstMatch(version); return match != null ? version.substring(match.start, match.end) : null; } diff --git a/pubspec.yaml b/pubspec.yaml index b47eebc..2db2896 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -17,7 +17,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 0.8.3+66 # When changing this, update the tag in main() accordingly +version: 0.8.4+67 # When changing this, update the tag in main() accordingly environment: sdk: '>=2.18.2 <3.0.0'