Display existing Git tags alongside their version numbers. If the project’s
current version differs from the latest tag, a warning is emitted. Output can
be formatted as plain text, Markdown, or JSON, and previous releases may be
rolled back or purged when necessary. Dates default to ISO-8601 in UTC; pass
--local-time for human-readable local output.
--format – Output style: text (default), md, or json.
--local-time – Render commit dates in the local timezone instead of ISO-8601.
--stats – Include line change statistics between successive tags.
--rollbackTAG – Delete TAG and restore versioned files to the previous
commit without touching untracked files. A new commit titled
chore(release):undoTAG is created when changes are detected. Remember to
push the tag deletion and the commit to your remote repository.
--purge – Remove all bumpwright release tags and commits, restoring
versioned files while leaving other commits untouched and requiring the
project to be reinitialised.
Undo a tagged release by supplying the tag name to --rollback. The command
deletes the tag locally and reverts only the versioned files and changelog to
their previous state. All other files remain untouched, and a commit recording
the reversal is created.
bumpwright history --rollback v1.2.3
bumpwright history --stats --format mdbumpwright history --rollback v1.2.4
Rolled back to v1.2.3
{"action":"rollback","to":"v1.2.3"}
Afterward, push both the commit and tag deletion to your remote repository:
Remove all bumpwright-generated releases and tags, restoring versioned files to
their prior state and leaving the repository uninitialised. Push the tag
deletions to your remote repository after running the command: