Skip to content

A release needs a clean tree

error: the repository has changes that aren't committed
hint: Commit or stash them, change files in .changes too, so the release commit holds only the release, then run axle release again.

axle release makes one commit with the new versions, changelogs and change files, and tags it. A tracked file with changes that aren’t committed would end up in that commit, or be left out of the release it belongs to. Files Git doesn’t track are fine, except change files in .changes/: commit those too, so the release deletes them in the same commit.

Commit the changes, or stash them with git stash, then run axle release again. axle release --dry-run works with changes in the tree, since it writes nothing.