Update Premium Plugin Version
Update the Simple History Premium plugin version in all required locations.
Premium Add-on Path
See CLAUDE.local.md for the premium add-on path. Read it first to determine the correct path.
Workflow
Validation
- Read
CLAUDE.local.mdto find the premium add-on path - If no version is provided in $ARGUMENTS, show the current version and ask for the new version
- Validate the version format follows semantic versioning (e.g., 1.10.0, 2.0.0, 1.9.1)
- Show the current version and the new version for confirmation before making changes
Files to Update
Update the version in these three locations (all relative to the premium add-on path):
- readme.txt — Update the
Stable tag:line - simple-history-premium.php — Update the
Version:line in the plugin header comment - simple-history-premium.php — Update the
'version'value in theConfig::init()array
After Updates
Show a summary of all changes made with before/after values.
Examples
/premium-version-update 1.10.0— Update version to 1.10.0/premium-version-update 2.0.0— Update version to 2.0.0