Releasing
이 콘텐츠는 아직 번역되지 않았습니다.
Update the version in cli/Cargo.toml, then push a git tag with the matching version:
git tag v0.1.0git push origin v0.1.0.github/workflows/release.yml builds the release binary for five targets (aarch64-apple-darwin, x86_64-apple-darwin, x86_64-unknown-linux-musl, aarch64-unknown-linux-musl, x86_64-pc-windows-msvc), attaches xds-<target>.tar.gz and its .sha256 checksum to a GitHub release, and publishes the npm packages. Publishing requires an NPM_TOKEN repository secret.
To build the npm packages locally without publishing:
mise run build:climkdir -p /tmp/xds-binaries/aarch64-apple-darwincp target/dist/xds /tmp/xds-binaries/aarch64-apple-darwin/node npm/build-packages.mjs --binaries /tmp/xds-binaries # writes npm/distThe script builds a platform package for each Rust target binary it finds and stamps the version from cli/Cargo.toml onto every package.