Skip to content

Release prebuilt web and iOS artifacts - #17

Merged
arpan404 merged 1 commit into
mainfrom
ace/prebuilt-releases
Nov 11, 2026
Merged

arpan404 merged 1 commit into
mainfrom
ace/prebuilt-releases

Conversation

@arpan404

Copy link
Copy Markdown
Owner

Adds scripts/release.sh, which builds markit's prebuilt artifacts into dist/v<version>/ and, with --publish, creates GitHub release v<version>. Apps that embed markit download these artifacts instead of building Rust.

  • markit-web-<version>.tgz: the @markit/web npm package (renderer, worker, Wasm, types, licences).
  • markit-ios-<version>.zip: the Swift package with MarkitCore.xcframework built.
  • SHA256SUMS: checksums for both archives.

The version comes from Cargo.toml, and web/package.json must match it. The working tree must be clean. Toolchains are named explicitly: WEB_TOOLCHAIN defaults to 1.95.0, and IOS_TOOLCHAIN defaults to 1.91.1, because Xcode's linker can't read objects built with a newer LLVM. The script checks that each archive contains the files embedders load.

web/package.json now also exports the Wasm glue, the worker, the render core and package.json.

Verified locally: both archives build, and ace installs @markit/web from the tarball. ace's web tests, the daemon's linked-file tests and its release bundle all work from the installed package.

scripts/release.sh builds the @markit/web npm package (renderer, worker,
Wasm, types and licences) and the iOS Swift package with
MarkitCore.xcframework into dist/v<version>/, checks both, writes
SHA256SUMS and, with --publish, creates GitHub release v<version>.
Apps embedding markit can download these instead of building Rust.

web/package.json also exports the Wasm glue, the worker, the render core
and package.json, which embedders load directly.

Co-Authored-By: spade <bot@acehq.dev>
@arpan404
arpan404 merged commit b61ee59 into main Nov 11, 2026
10 checks passed
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