Skip to content

A change file has a mistake

error: .changes/buttons-take-an-icon.md has a mistake: its list of packages has to end with ---
hint: A change file starts with ---, a line such as "ui": minor for each package, and ---, then says what changed.

With versions = "changes", axle release reads each Markdown file in .changes/. One of them doesn’t have the shape it needs: front matter between two --- lines naming each package and its bump, patch, minor or major, then the text for the changelog. Or it names a package that has no version to release, or one whose release group takes its versions from commits, or axle release add was given a package without =patch, =minor or =major, or no message. axle release add with a package that isn’t in the workspace is unknown-package instead. Quotes around the names are optional.

Fix the file the message names so it looks like this, with packages from the workspace whose package.json has a version:

---
'ui': minor
'web': patch
---
Buttons take an icon.

Or delete it and write it again with axle release add ui=minor web=patch --message "Buttons take an icon.".