Claude-mem claude-code-plugin-release
Automated semantic versioning and release workflow for Claude Code plugins. Handles version increments across package.json, marketplace.json, and plugin.json, build verification, git tagging, GitHub releases, and changelog generation.
install
source · Clone the upstream repo
git clone https://github.com/thedotmack/claude-mem
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/thedotmack/claude-mem "$T" && mkdir -p ~/.claude/skills && cp -r "$T/plugin/skills/version-bump" ~/.claude/skills/thedotmack-claude-mem-claude-code-plugin-release && rm -rf "$T"
manifest:
plugin/skills/version-bump/SKILL.mdsource content
Version Bump & Release Workflow
IMPORTANT: You must first plan and write detailed release notes before starting the version bump workflow.
CRITICAL: ALWAYS commit EVERYTHING (including build artifacts). At the end of this workflow, NOTHING should be left uncommitted or unpushed. Run
git status at the end to verify.
Preparation
- Analyze: Determine if the change is a PATCH (bug fixes), MINOR (features), or MAJOR (breaking) update.
- Environment: Identify the repository owner and name (e.g., from
).git remote -v - Paths: Verify existence of
,package.json
, and.claude-plugin/marketplace.json
.plugin/.claude-plugin/plugin.json
Workflow
- Update: Increment version strings in all configuration files.
- Verify: Use
to ensure all files match the new version.grep - Build: Run
to generate fresh artifacts.npm run build - Commit: Stage all changes including artifacts:
.git add -A && git commit -m "chore: bump version to X.Y.Z" - Tag: Create an annotated tag:
.git tag -a vX.Y.Z -m "Version X.Y.Z" - Push:
.git push origin main && git push origin vX.Y.Z - Release:
.gh release create vX.Y.Z --title "vX.Y.Z" --notes "RELEASE_NOTES" - Changelog: Regenerate
using the GitHub API and the provided script:CHANGELOG.mdgh api repos/{owner}/{repo}/releases --paginate | ./scripts/generate_changelog.js > CHANGELOG.md - Sync: Commit and push the updated
.CHANGELOG.md - Notify: Run
if applicable.npm run discord:notify vX.Y.Z - Finalize: Run
to ensure a clean working tree.git status
Checklist
- All config files have matching versions
-
succeedednpm run build - Git tag created and pushed
- GitHub release created with notes
-
updated and pushedCHANGELOG.md -
shows clean treegit status