Skip to content

Release

This command handles version management for the mx-workflow plugin, keeping version numbers, changelogs, and git tags in sync.

Bump version in plugin.json + marketplace.json, update CHANGELOG, commit, and tag

/mx:version <patch|minor|major|x.y.z>

Centralized version management that bumps the version across all manifest files, updates the changelog, commits the changes, and creates a git tag — all in one step. It ensures that plugin.json, .claude-plugin/marketplace.json, and CHANGELOG.md stay in sync.

ArgumentEffectExample
patchIncrement the patch version1.0.1 becomes 1.0.2
minorIncrement the minor version1.0.1 becomes 1.1.0
majorIncrement the major version1.0.1 becomes 2.0.0
x.y.zSet an explicit version number2.1.0 sets the version to 2.1.0
  1. plugin.json — the version field
  2. .claude-plugin/marketplace.json — the plugins[0].version field
  3. CHANGELOG.md — moves content from the [Unreleased] section into a new version section with the current date
  4. Git — creates a commit and a v{version} tag

Bump the patch version after a bug fix:

/mx:version patch

Bump the minor version after adding a new command:

/mx:version minor

Set an explicit version for a major release:

/mx:version 2.0.0
Change typeVersion bump
Bug fixes, typo corrections, doc-only changespatch
New commands, new agents, new features, non-breaking improvementsminor
Breaking changes to existing command behavior or plugin structuremajor

When to use it:

  • After completing a batch of work that is ready for release
  • When you need to create a versioned release with a changelog entry
  • Before creating a GitHub Release with gh release create