perchly-cli

main

Detect changed packages in a Swift monorepo, bump versions, and publish to an SE-0292 registry
Another1dd/perchly-cli

perchly-cli

Detect changed packages in a Swift monorepo, bump their version, and publish each to a private SE-0292 package registry — a small "melos for Swift" workflow, without requiring a monorepo-wide version bump every time one package changes.

Works with any SE-0292-compliant registry, including Perchly.

What it does

If your team keeps several related Swift packages in one repository, publishing each one independently normally means either bumping every package's version on every release, or manually figuring out which ones actually changed. perchly automates that:

  1. Diffs the last commit against HEAD to find which package directories under Sources/ changed
  2. Bumps only those packages' versions (patch/minor/major)
  3. Publishes each changed package via swift package-registry publish

Install

git clone https://github.com/Another1dd/perchly-cli.git
cd perchly-cli
swift build -c release

Usage

Run from the root of your monorepo:

perchly --bump patch your-org-scope

--bump accepts patch, minor, or major (defaults to patch). your-org-scope is the registry scope (org slug) each changed package gets published under.

License

MIT — see LICENSE.

Description

  • Swift Tools 5.9.0
View More Packages from this Author

Dependencies

Last updated: Mon Aug 31 2026 01:32:48 GMT-0900 (Hawaii-Aleutian Daylight Time)