fix(version) write build-info.json in CI to fix frontend version display #9

Merged
araemer merged 1 commit from stage into main 2026-06-04 06:51:30 +00:00
Owner

The build-info.json write step was missing from both build_stage.yaml and build_release.yaml. Without it, the frontend always fell back to version: "dev" in deployed environments because the static file fetch returned 404.

Fix: add the echo step (as specified in ADR 2026-05-25-version-display) after npm run build and before packaging dist/ in both workflows.

The `build-info.json` write step was missing from both `build_stage.yaml` and `build_release.yaml`. Without it, the frontend always fell back to `version: "dev"` in deployed environments because the static file fetch returned 404. Fix: add the `echo` step (as specified in ADR 2026-05-25-version-display) after `npm run build` and before packaging `dist/` in both workflows.
The build-info.json write step was missing from both workflows, causing
the frontend to always fall back to version "dev" in deployed environments.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
araemer/recipe-app!9
No description provided.