chore: replace changesets with release-plz + cargo-dist#49
Merged
Conversation
Remove the JS-based changesets release tooling (changeset CLI, custom version-cargo.mjs and apply-changesets.mjs scripts) and replace with a fully Rust-native release stack: - release-plz: creates release PRs with version bumps and changelogs on push to main, then tags releases when the PR is merged - cargo-dist style workflow: builds binaries for 4 targets (x86_64/aarch64 linux and macOS) on tag push, uploads to GitHub Releases as .tar.gz archives - cargo-binstall metadata: enables `cargo binstall tinycloud-node-server` Release flow: push to main -> release-plz creates release PR merge release PR -> release-plz creates git tag (v1.x.x) tag push -> release workflow builds binaries + GitHub Release Removed: - .changeset/ directory and config - .github/scripts/version-cargo.mjs - scripts/apply-changesets.mjs - @changesets/cli devDependency from package.json
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.
Summary
cargo binstall tinycloud-node-serverto get prebuilt binariesWhat changed
.changeset/,version-cargo.mjs,apply-changesets.mjs,@changesets/clirelease-plz.toml(only releasestinycloud-node-server, skips internal crates).github/workflows/release-plz.yml(version PR creation + tagging).github/workflows/release.yml(now cargo-dist: builds Linux x86/ARM + macOS x86/ARM)Release flow
cargo binstall tinycloud-node-serveror download from ReleasesTest plan