sampo 0.1.0

Sampo CLI: automate changelogs, versioning, and publishing
sampo-0.1.0 is not a library.
Visit the last successful build: sampo-0.2.0

Sampo

Automate changelogs, versioning, and publishing—even for monorepos across multiple registries.

Getting Started

TODO: Add a quick start guide

Commands

All commands should be run from the root of the repository:

Command Description
sampo help Show commands or the help of the given subcommand(s)
sampo init Initialize Sampo in the current repository
sampo add Create a new changeset
sampo release Consume changesets, bump versions, changelogs, and tag
sampo publish Publish packages to registries

sampo publish

Current implementation targets Rust crates on crates.io only.

  • Basic usage: sampo publish
  • Dry run: sampo publish --dry-run (runs cargo publish --dry-run per crate)
  • Order: publishes workspace crates in dependency order (internal deps first)
  • Skips crates with publish = false or without crates-io in publish = [..]

Pass-through flags

  • Use -- to separate cargo flags (required): sampo publish --dry-run -- --allow-dirty
  • Place Sampo flags before the separator: sampo publish --dry-run -- --no-verify