Skip to content

A package is in two release groups

error: @acme/sdk-web is in the release groups sdk and web
hint: A package can be in only one release group. Take it out of the packages of one of them under [[release.groups]] in axle.toml.

Each of the [[release.groups]] in the root axle.toml lists its packages by name or by glob, and axle release gives each group its own versions, tags and changelogs. A package matched by the packages of two groups would get two versions at once, so Axle stops before it changes anything. It often happens when a glob such as @acme/* also matches a package another group names.

Take the package out of one of the groups. Make the glob narrower, such as @acme/sdk-* instead of @acme/*, or name the packages one by one:

[[release.groups]]
name = "sdk"
packages = ["@acme/sdk-node", "@acme/sdk-web"]
mode = "fixed"