Release Tooling, Sorted by the Job It Does
Release tools are often compared as if they were interchangeable. They are not. Some decide the next version, some write the changelog, some coordinate many packages at once, and some only upload a file. Sorting them by job makes it easier to see which one you actually need and which combinations overlap.
Category 1: tools that decide the version
These read your commit history or a set of small "change files" and compute the next version number. semantic-release derives the bump from commit messages that follow Conventional Commits and publishes without a human choosing the number. release-please, published by Google, works from the same kind of commit messages but opens a release pull request that a maintainer merges, which keeps a human checkpoint. The trade-off is discipline: both depend on commit messages being written carefully, every time.
Category 2: tools built for monorepos
Changesets asks contributors to add a small markdown file describing the change and its bump type for each affected package. At release time it combines them, bumps versions, updates internal dependency ranges and writes changelogs. This avoids relying on commit message format and works well when one pull request touches several packages. Other workspace managers offer similar features; check how each handles packages that depend on each other inside the repository.
Category 3: tools that build and upload
| Ecosystem | Typical build step | Typical upload step |
|---|---|---|
| npm | your own build script, then npm pack to inspect | npm publish |
| Python | python -m build | twine upload, or the PyPA publish action with Trusted Publishing |
| Rust | cargo package | cargo publish |
| Go | none needed for the module itself | push a version tag; binaries are often built with GoReleaser |
For Go, publishing a library is just tagging. GoReleaser is relevant when you also ship command-line binaries and want archives and checksums for several platforms.
Category 4: checkers that run before release
- Metadata validators such as
twine check, which catches description rendering problems before PyPI does. - API diff tools that compare the exported surface of two versions and flag removals. Several exist for TypeScript declarations, Rust and Go; they are worth adding once your package has users who notice breakage.
- Packaging linters that warn when
exports,mainandtypespoint at files that do not exist.
Questions to ask before adopting any of them
Whatever category a tool belongs to, a few questions separate a good fit from a future headache. Does it need a long-lived registry token, or can it use short-lived CI credentials? Can you run it locally in a dry-run mode to see what it would do? What happens when it fails halfway through, for example after tagging but before uploading? And how hard would it be to remove later? A tool that writes its own configuration into several files, or rewrites history, is harder to leave than one that only reads commits and prints a version.
Choosing a combination
A single-package project can often get by with one tool from category 1 or 2 plus the native upload command. A monorepo usually wants category 2. Whatever you choose, keep the upload step in CI so tokens do not live on laptops; see the trusted publishing workflow for that piece, and the changelog entry how-to for writing the human part well.