Skip to content

Commit 7e9a7a2

Browse files
imranparukclaude
andcommitted
fix(release): copy site/ for go:embed before binary build
release.yml only copied dist/; site_embed.go also embeds site/. Mirror build:all so the cross-compiled binary embeds the landing+docs. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 330e0c6 commit 7e9a7a2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ jobs:
8181
run: |
8282
mkdir -p backend/cmd/wede/dist
8383
cp -r dist/* backend/cmd/wede/dist/
84+
mkdir -p backend/cmd/wede/site
85+
cp -r site/* backend/cmd/wede/site/
8486
8587
VERSION="${GITHUB_REF_NAME}"
8688
EXT=""
@@ -91,7 +93,7 @@ jobs:
9193
-ldflags "-s -w -X main.Version=${VERSION}" \
9294
-o "wede-${GOOS}-${GOARCH}${EXT}" ./backend/cmd/wede
9395
94-
rm -rf backend/cmd/wede/dist
96+
rm -rf backend/cmd/wede/dist backend/cmd/wede/site
9597
9698
- name: Upload artifact
9799
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)