From 1311f745cd9bef0c071494252e63c4a2afec6a20 Mon Sep 17 00:00:00 2001 From: Bryan Oltman Date: Tue, 30 May 2023 16:46:11 -0400 Subject: [PATCH] chore(shorebird_cli): add logging around artifact creation (#565) --- packages/shorebird_cli/lib/src/commands/patch_command.dart | 3 ++- .../lib/src/commands/release/release_android_command.dart | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/shorebird_cli/lib/src/commands/patch_command.dart b/packages/shorebird_cli/lib/src/commands/patch_command.dart index 996acf69..a0cea631 100644 --- a/packages/shorebird_cli/lib/src/commands/patch_command.dart +++ b/packages/shorebird_cli/lib/src/commands/patch_command.dart @@ -350,7 +350,7 @@ https://github.com/shorebirdtech/shorebird/issues/472 bundlePath, ); - logger.detail('content diffs detected: $contentDiffs'); + logger.detail('aab content differences: $contentDiffs'); if (contentDiffs.contains(AabDifferences.native)) { logger @@ -398,6 +398,7 @@ If you believe you're seeing this in error, please reach out to us for support a archMetadata.path, 'libapp.so', ); + logger.detail('Creating artifact for $patchArtifactPath'); final patchArtifact = File(patchArtifactPath); final hash = _hashFn(await patchArtifact.readAsBytes()); try { diff --git a/packages/shorebird_cli/lib/src/commands/release/release_android_command.dart b/packages/shorebird_cli/lib/src/commands/release/release_android_command.dart index 45c8c02c..25090220 100644 --- a/packages/shorebird_cli/lib/src/commands/release/release_android_command.dart +++ b/packages/shorebird_cli/lib/src/commands/release/release_android_command.dart @@ -229,6 +229,7 @@ ${summary.join('\n')} ); final artifact = File(artifactPath); final hash = _hashFn(await artifact.readAsBytes()); + logger.detail('Creating artifact for $artifactPath'); try { await codePushClient.createReleaseArtifact( @@ -252,6 +253,7 @@ ${archMetadata.arch} artifact already exists, continuing...''', } try { + logger.detail('Creating artifact for $bundlePath'); await codePushClient.createReleaseArtifact( releaseId: release.id, artifactPath: bundlePath,