Skip to content

Fix release workflow: fetch mozjs, build under packages/native#6

Merged
jaenster merged 1 commit into
mainfrom
fix-release-workflow
May 7, 2026
Merged

Fix release workflow: fetch mozjs, build under packages/native#6
jaenster merged 1 commit into
mainfrom
fix-release-workflow

Conversation

@jaenster
Copy link
Copy Markdown
Owner

@jaenster jaenster commented May 7, 2026

Summary

The release workflow has been broken since the project restructure — it ran `zig build` at repo root, but the native build now lives under `packages/native/` and needs `libmozjs.dll.a` fetched from the artifacts branch (same as CI). v0.2.0 shipped a 331KB zip — likely without the DLL.

This mirrors the `.github/workflows/ci.yml` mozjs fetch + working-directory pattern, drops the missing `INSTALL.txt` copy, includes `mozjs.dll` in the package (required at runtime), and updates DLL paths to `packages/native/zig-out/bin/`.

Needed before tagging v0.3.0.

Test plan

  • Tag-push triggers the workflow and produces a release zip with all four files (Aether.dll, dbghelp.dll, mozjs.dll, scripts/, README.md)

The release workflow has been broken since the project restructure: it ran
zig build at repo root, but the build now lives under packages/native and
needs libmozjs.dll.a fetched from the artifacts branch (same pattern as CI).
Also drops the missing INSTALL.txt copy, includes mozjs.dll in the package
(required at runtime), and updates DLL paths to packages/native/zig-out/bin.

Mirrors .github/workflows/ci.yml's mozjs fetch + build steps.
@jaenster jaenster merged commit 969a8e1 into main May 7, 2026
1 check failed
@jaenster jaenster deleted the fix-release-workflow branch May 7, 2026 13:11
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.

1 participant