Merge pull request #931 from ImranR98/dev

Fix major GitHub bug from previous release (#929)
This commit is contained in:
Imran Remtulla
2023-09-23 14:32:46 -04:00
committed by GitHub
4 changed files with 4 additions and 4 deletions

View File

@@ -269,6 +269,8 @@ class GitHub extends AppSource {
? DateTime.parse(rel['published_at'])
: null;
if (dontSortReleasesList) {
releases = releases.reversed.toList();
} else {
releases.sort((a, b) {
// See #478 and #534
if (a == b) {

View File

@@ -19,7 +19,7 @@ import 'package:easy_localization/src/easy_localization_controller.dart';
// ignore: implementation_imports
import 'package:easy_localization/src/localization.dart';
const String currentVersion = '0.14.18';
const String currentVersion = '0.14.19';
const String currentReleaseTag =
'v$currentVersion-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES

View File

@@ -1119,7 +1119,6 @@ class AppsProvider with ChangeNotifier {
logs.add('Skipping auto-export as dir is not set.');
return null;
}
logs.add('Started auto-export.');
var files = await saf
.listFiles(exportDir, columns: [saf.DocumentFileColumn.id])
.where((f) => f.uri.pathSegments.last.endsWith('-auto.json'))
@@ -1128,7 +1127,6 @@ class AppsProvider with ChangeNotifier {
for (var f in files) {
saf.delete(f.uri);
}
logs.add('Previous auto-export deleted.');
}
}
if (exportDir == null || pickOnly) {

View File

@@ -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.14.18+210 # When changing this, update the tag in main() accordingly
version: 0.14.19+211 # When changing this, update the tag in main() accordingly
environment:
sdk: '>=3.0.0 <4.0.0'