Repository navigation
ci: release with release-please instead of Changesets - #28
Merged
Merged
Conversation
commit: |
Nsttt
added a commit
that referenced
this pull request
Nov 4, 2026
Release PRs bump the npm package and the Cargo crate together. Adds CI, PR title validation and pkg.pr.new previews, matching the tanstack and electron repos.
release-please only counted commits under packages/tauri, so a fix that only touched packages/tauri-plugin would not have released. Track the repo root instead, excluding .github, docs, example and scripts, and bump packages/tauri/package.json through extra-files.
Nsttt
force-pushed
the
ci/release-please
branch
from
November 5, 2026 11:07
a7a79ea to
07aea37
Compare
Merged
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.
Moves releases from Changesets to release-please, set up like
module-federation/tanstackandmodule-federation/electron, and adds the same CI.Changes
release-please-config.jsonand.release-please-manifest.jsontrack the repo root, starting at0.0.0, and ignore commits that only touch.github,docs,exampleorscripts. A change to either the runtime plugin or the Rust crate releases both artifacts. Every push tomainopens or updates achore: release x.y.zPR. Tags have nov.packages/tauri/package.json,packages/tauri-plugin/Cargo.tomland the crate'sCargo.lockentry throughextra-files, so npm and crates.io always ship the same version. The changelog ispackages/tauri/CHANGELOG.md.release-please.yml: copied from tanstack, uses theRELEASE_APP_ID/RELEASE_APP_PRIVATE_KEYGitHub App token so its releases triggerRelease.release.yml: rewritten in tanstack's style, still publishes to crates.io. Runs on published releases, main-only, checks the tag and Cargo version,-next.<run id>previews on dispatch, refuses conflicting republishes. Now installs Tauri's Linux dependencies, whichpnpm buildneeds for the example hosts.ci.yml: version sync check,cargo fmt --check,pnpm build,cargo test,npm pack --dry-run.pkg-pr-new.yml: preview packages for every PR and push tomain.pr.yml: validates Conventional Commit PR titles, which now decide the release..changeset/and@changesets/cli.docs/RELEASING.mdrewritten for this flow, including setup and the npm first-publish bootstrap.Verification
actionlintpasses on all workflows; the config passes release-please's JSON schema.fix:touching onlypackages/tauri-plugin/src→chore: release 0.0.1feat:touchingpackages/taurianddocs→chore: release 0.1.0feat:touching onlyexample/, orfix:touching onlydocs/andscripts/→ no release PRpackage.json(tabs kept),Cargo.tomlandCargo.lock, andpnpm release:sync:checkpasses on the result.pnpm install --frozen-lockfile,pnpm build:packageandpnpm pack:tauripass locally.CIon this PR is the first Linux run of the full build.Before the first release
Publishenvironment.RELEASE_APP_ID,RELEASE_APP_PRIVATE_KEY,CARGO_REGISTRY_TOKEN.@module-federation/tauri(seedocs/RELEASING.md).