chore(shorebird_cli): add logging around artifact creation (#565)

This commit is contained in:
Bryan Oltman
2023-05-30 16:46:11 -04:00
committed by GitHub
parent f3fd193c55
commit 1311f745cd
2 changed files with 4 additions and 1 deletions
@@ -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 {
@@ -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,