The release settings have a mistake
error: sdk-*, in the release group sdk, matches no package with a versionhint: Fix the name or glob, or take it out of the group's packages.Why it happens
Section titled “Why it happens”axle release and axle release publish check the release groups and tag formats under [release] before they change anything. The message says which of these it found:
- A name or glob in a group’s
packagesmatches no workspace package that has aversion. Globs match whole names, sosdk-*doesn’t match@acme/sdk-web. - A name or glob isn’t a glob Axle can read, such as one with a
[that’s never closed. - Two groups have the same
name, or a group has none. - A tag format has no
{version}, so the tags of two versions would be the same. - Two sets of packages would get the same tags. A fixed group is tagged with the group’s name, so a group named
uiand a package nameduioutside it would both be taggedui@1.0.0. The same happens when a fixed group and a fixed repository both usev{version}.
How to fix it
Section titled “How to fix it”Fix the setting the message names in the root axle.toml. For tags that would be the same, give the group a format of its own:
[[release.groups]]name = "sdk"packages = ["@acme/sdk-*"]mode = "fixed"tag = "sdk-v{version}"