chore(shorebird_cli): upgrade bundletool to 1.17.1 (#2492)

This commit is contained in:
Felix Angelov
2024-09-23 13:07:31 -04:00
committed by GitHub
parent e961d1e137
commit 50d3ffcfcb
2 changed files with 8 additions and 7 deletions
+2 -2
View File
@@ -353,7 +353,7 @@ class BundleToolArtifact extends CachedArtifact {
@override
String get storageUrl {
return 'https://github.com/google/bundletool/releases/download/1.15.6/bundletool-all-1.15.6.jar';
return 'https://github.com/google/bundletool/releases/download/1.17.1/bundletool-all-1.17.1.jar';
}
@override
@@ -364,5 +364,5 @@ class BundleToolArtifact extends CachedArtifact {
// ```shell
// shasum --algorithm 256 /path/to/file
// ```
'''38ae8a10bcdacef07ecce8211188c5c92b376be96da38ff3ee1f2cf4895b2cb8''';
'''45881ead13388872d82c4255b195488b7fc33f2cac5a9a977b0afc5e92367592''';
}
@@ -303,8 +303,9 @@ void main() {
group('when checksum validation fails', () {
setUp(() {
when(() => checksumChecker.checkFile(any(), any()))
.thenReturn(false);
when(
() => checksumChecker.checkFile(any(), any()),
).thenReturn(false);
});
test('fails with the correct message', () async {
@@ -344,7 +345,7 @@ void main() {
final expected = [
perEngine('patch-darwin-x64.zip'),
'https://github.com/google/bundletool/releases/download/1.15.6/bundletool-all-1.15.6.jar',
'https://github.com/google/bundletool/releases/download/1.17.1/bundletool-all-1.17.1.jar',
perEngine('aot-tools.dill'),
].map(Uri.parse).toList();
@@ -370,7 +371,7 @@ void main() {
final expected = [
perEngine('patch-windows-x64.zip'),
'https://github.com/google/bundletool/releases/download/1.15.6/bundletool-all-1.15.6.jar',
'https://github.com/google/bundletool/releases/download/1.17.1/bundletool-all-1.17.1.jar',
perEngine('aot-tools.dill'),
].map(Uri.parse).toList();
@@ -396,7 +397,7 @@ void main() {
final expected = [
perEngine('patch-linux-x64.zip'),
'https://github.com/google/bundletool/releases/download/1.15.6/bundletool-all-1.15.6.jar',
'https://github.com/google/bundletool/releases/download/1.17.1/bundletool-all-1.17.1.jar',
perEngine('aot-tools.dill'),
].map(Uri.parse).toList();