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.
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:
- Diffs the last commit against
HEADto find which package directories underSources/changed - Bumps only those packages' versions (patch/minor/major)
- Publishes each changed package via
swift package-registry publish
git clone https://github.com/Another1dd/perchly-cli.git
cd perchly-cli
swift build -c releaseRun 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.
MIT — see LICENSE.