fix(ci): copy CHANGELOG.md into the wasm docker stage — deploys broken since v0.47.0
Build and Deploy / build-and-push (push) Successful in 9m33s
Build and Deploy / build-and-push (push) Successful in 9m33s
whats_new_plugin embeds the changelog at compile time
(include_str!("../../CHANGELOG.md"), shipped 2026-07-13), but the
Dockerfile's wasm-builder stage copies an explicit file list that
never included CHANGELOG.md — every docker-build since (10 runs,
v0.48.x and v0.49.0 content) failed in build_wasm.sh while web-e2e
(full checkout) stayed green, so the web has been serving the
July 14 image.
Also add CHANGELOG.md to the workflow's trigger paths so changelog
cuts redeploy the web and the What's-new card stays fresh.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -15,6 +15,9 @@ on:
|
|||||||
- 'Cargo.toml'
|
- 'Cargo.toml'
|
||||||
- 'Cargo.lock'
|
- 'Cargo.lock'
|
||||||
- 'build_wasm.sh'
|
- 'build_wasm.sh'
|
||||||
|
# The engine embeds CHANGELOG.md (What's-new card) — changelog cuts
|
||||||
|
# must redeploy the web so the card content stays fresh.
|
||||||
|
- 'CHANGELOG.md'
|
||||||
- 'solitaire_server/Dockerfile'
|
- 'solitaire_server/Dockerfile'
|
||||||
- '.gitea/workflows/docker-build.yml'
|
- '.gitea/workflows/docker-build.yml'
|
||||||
|
|
||||||
|
|||||||
@@ -53,6 +53,10 @@ RUN cargo fetch --locked
|
|||||||
# src/) because solitaire_engine embeds theme/audio/font assets at compile
|
# src/) because solitaire_engine embeds theme/audio/font assets at compile
|
||||||
# time from its own assets/ and the workspace assets/.
|
# time from its own assets/ and the workspace assets/.
|
||||||
COPY build_wasm.sh ./
|
COPY build_wasm.sh ./
|
||||||
|
# whats_new_plugin embeds the changelog at compile time
|
||||||
|
# (include_str!("../../CHANGELOG.md")) — omit it and the engine build
|
||||||
|
# fails inside this stage while full-checkout builds stay green.
|
||||||
|
COPY CHANGELOG.md ./
|
||||||
COPY solitaire_core ./solitaire_core
|
COPY solitaire_core ./solitaire_core
|
||||||
COPY solitaire_sync ./solitaire_sync
|
COPY solitaire_sync ./solitaire_sync
|
||||||
COPY solitaire_data ./solitaire_data
|
COPY solitaire_data ./solitaire_data
|
||||||
|
|||||||
Reference in New Issue
Block a user