Skip to content

Commit

Permalink
[eas-cli] create debug fingerprints
Browse files Browse the repository at this point in the history
  • Loading branch information
quinlanj committed Jan 5, 2025
1 parent 5e5b55f commit a4ca87a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion packages/eas-cli/src/build/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,9 @@ async function computeAndMaybeUploadRuntimeAndFingerprintMetadataAsync<T extends
const runtimeAndFingerprintMetadata =
await computeAndMaybeUploadFingerprintFromExpoUpdatesAsync(ctx);
if (!runtimeAndFingerprintMetadata?.fingerprintHash) {
const fingerprint = await computeAndMaybeUploadFingerprintWithoutExpoUpdatesAsync(ctx);
const fingerprint = await computeAndMaybeUploadFingerprintWithoutExpoUpdatesAsync(ctx, {
debug: true,
});
return {
...runtimeAndFingerprintMetadata,
...fingerprint,
Expand Down Expand Up @@ -739,6 +741,7 @@ async function computeAndMaybeUploadFingerprintWithoutExpoUpdatesAsync<T extends
workflow: ctx.workflow,
platforms: [ctx.platform],
env: ctx.env,
debug,
});
if (!fingerprint) {
return {};
Expand Down
3 changes: 2 additions & 1 deletion packages/eas-cli/src/commands/fingerprint/compare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,12 @@ export default class FingerprintCompare extends EasCommand {
const workflows = await resolveWorkflowPerPlatformAsync(projectDir, vcsClient);
const buildPlatform = buildWithFingerprint.platform;
const workflow = workflows[appPlatformToPlatform(buildPlatform)];
const isDebug = true;

const projectFingerprint = await createFingerprintAsync(projectDir, {
workflow,
platforms: [appPlatformToString(buildPlatform)],
debug: true,
debug: isDebug,
env: undefined,
});
if (!projectFingerprint) {
Expand Down
1 change: 1 addition & 0 deletions packages/eas-cli/src/project/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -923,6 +923,7 @@ export async function maybeCalculateFingerprintForRuntimeVersionInfoObjectsWitho
workflow: workflowsByPlatform[platform],
projectDir,
env,
debug: true,
};
fingerprintOptionsByRuntimeAndPlatform.set(runtimeAndPlatform, options);
}
Expand Down

0 comments on commit a4ca87a

Please sign in to comment.