mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-07-12 21:02:17 +02:00
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:
parent
2bbb502661
commit
1ed9cced59
1 changed files with 3 additions and 0 deletions
|
|
@ -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}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue