Repository navigation
Release prebuilt web and iOS artifacts - #17
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
scripts/release.sh, which builds markit's prebuilt artifacts intodist/v<version>/and, with--publish, creates GitHub releasev<version>. Apps that embed markit download these artifacts instead of building Rust.markit-web-<version>.tgz: the@markit/webnpm package (renderer, worker, Wasm, types, licences).markit-ios-<version>.zip: the Swift package withMarkitCore.xcframeworkbuilt.SHA256SUMS: checksums for both archives.The version comes from
Cargo.toml, andweb/package.jsonmust match it. The working tree must be clean. Toolchains are named explicitly:WEB_TOOLCHAINdefaults to 1.95.0, andIOS_TOOLCHAINdefaults 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.jsonnow also exports the Wasm glue, the worker, the render core andpackage.json.Verified locally: both archives build, and ace installs
@markit/webfrom the tarball. ace's web tests, the daemon's linked-file tests and its release bundle all work from the installed package.