fix(apps): re-report completed steps on publish resume

Resumed publishes skipped already-done steps without emitting progress, so
the dialog showed stale spinners for steps that finished in a prior attempt.
This commit is contained in:
Gagan 2026-07-06 20:04:43 +05:30
parent 2bbb502661
commit 1ed9cced59

View file

@ -260,6 +260,9 @@ export async function publishApp(
await writePublishRecord(folder, record);
onProgress(step);
};
// Resume: re-report steps completed by a prior attempt so the UI shows
// them as done instead of leaving stale spinners.
for (const step of completed) onProgress(step as PublishStep);
// 1. packaged
const outDir = path.join(WorkDir, 'tmp', `app-publish-${name}`);