Skip to content

Set VITE_STAGE in app CI builds so external links use correct URLs#839

Merged
microbit-matt-hillsdon merged 1 commit intoappsfrom
fix-stage-calculation
Apr 2, 2026
Merged

Set VITE_STAGE in app CI builds so external links use correct URLs#839
microbit-matt-hillsdon merged 1 commit intoappsfrom
fix-stage-calculation

Conversation

@microbit-matt-hillsdon
Copy link
Copy Markdown

App builds (iOS/Android) were missing VITE_STAGE, causing the stage to default to "local" and external links to point to staging URLs even in tagged releases. Extract stage logic into shared ci-stage.cjs and add print-apps-ci-env.cjs for app workflows.

App builds (iOS/Android) were missing VITE_STAGE, causing the stage
to default to "local" and external links to point to staging URLs
even in tagged releases. Extract stage logic into shared ci-stage.cjs
and add print-apps-ci-env.cjs for app workflows.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 2, 2026

Preview build will be at
https://review-createai.microbit.org/fix-stage-calculation/

Copy link
Copy Markdown

@microbit-grace microbit-grace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@microbit-matt-hillsdon microbit-matt-hillsdon merged commit 8fdd8a6 into apps Apr 2, 2026
4 checks passed
@microbit-matt-hillsdon microbit-matt-hillsdon deleted the fix-stage-calculation branch April 2, 2026 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants