본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)101k · #1282

version-bump

하는 일

이 도구는 여러 중요한 파일에서 프로젝트의 버전 번호를 자동으로 업데이트합니다. 또한 코드에 태그를 만들고, 출시 노트를 생성하고, 새 버전을 공개해 다른 사람들이 사용할 수 있도록 합니다.

사용하는 경우

  • ✓버그를 고치고 그 수정을 표시하고 싶을 때.
  • ✓프로젝트에 새 기능을 추가할 때.
  • ✓이전 사용 방식을 깨뜨릴 수 있는 큰 변경을 할 때.

스킬 링크

https://github.com/thedotmack/claude-mem/blob/main/plugin/skills/version-bump/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/thedotmack/claude-mem/blob/main/plugin/skills/version-bump/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“프로젝트 버전을 다음 버그 수정 버전으로 올려 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 버전 번호가 적힌 모든 위치를 찾아 새 번호로 업데이트합니다. 그 버전의 태그를 코드에 만들고, 모든 것을 공개합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Version Bump & Release Workflow

IMPORTANT: Plan and write detailed release notes before starting.

CRITICAL: 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

  1. Analyze: Determine if the change is PATCH (bug fixes), MINOR (features), or MAJOR (breaking).

  2. Environment: Identify repository owner/name from git remote -v.

  3. Paths — every file that carries the version string:

    • package.json — the npm/npx-published version (npx claude-mem@X.Y.Z resolves from this)
    • plugin/package.json — bundled plugin runtime deps
    • .claude-plugin/marketplace.json — version inside plugins[0].version
    • .claude-plugin/plugin.json — top-level Claude-plugin manifest
    • plugin/.claude-plugin/plugin.json — bundled Claude-plugin manifest
    • .codex-plugin/plugin.json — Codex-plugin manifest
    • plugin/.codex-plugin/plugin.json — bundled Codex-plugin manifest
    • .qoder-plugin/plugin.json — Qoder plugin manifest
    • plugin/.qoder-plugin/plugin.json — bundled Qoder plugin manifest
    • openclaw/openclaw.plugin.json — OpenClaw plugin manifest
    • .grok-plugin/plugin.json — Grok plugin manifest
    • claude-mem-cursor/.cursor-plugin/plugin.json — Cursor plugin manifest
    • claude-mem-grok-bot/.cursor-plugin/plugin.json — Grok Bot Cursor plugin manifest
    • dsh/package.json — bundled DSH plugin package
    • README.md — the version badge (version-X.Y.Z-green), not a "version" key

    Verify coverage before editing: git grep -l "\"version\": \"<OLD>\"" should list the fourteen JSON files above, and git grep -n "version-<OLD>-green" the README badge. If a new manifest has been added since this doc was last updated, update this list.

Workflow

  1. Update: Increment the version string in every path above. Do NOT touch CHANGELOG.md — it's regenerated.
  2. Verify: git grep -n "\"version\": \"<NEW>\"" — confirm all fourteen JSON files match, and the README badge reads version-<NEW>-green. git grep -n "\"version\": \"<OLD>\"" — should return zero hits.
  3. Build and sync: npm run build-and-sync to regenerate artifacts, sync the local marketplace copy, restart the worker, and clear the queue. Do not use plain npm run build for release validation because it can leave the local marketplace/worker out of sync.
  4. Commit: git add -A && git commit -m "chore: bump version to X.Y.Z".
  5. Tag: git tag -a vX.Y.Z -m "Version X.Y.Z".
  6. Push: git push origin main && git push origin vX.Y.Z.
  7. GitHub release: gh release create vX.Y.Z --title "vX.Y.Z" --notes "RELEASE_NOTES".
  8. Changelog: Regenerate via the project's changelog script:
    npm run changelog:generate
    
    (Runs node scripts/generate-changelog.js, which pulls releases from the GitHub API and rewrites CHANGELOG.md.)
  9. Sync changelog: Commit and push the updated CHANGELOG.md.
  10. Pre-publish audit: Verify the release commit, tag, GitHub release, and changelog are pushed; confirm the release worktree has no pending tracked changes; and ensure its build dependencies are present because prepublishOnly rebuilds the package. If npm view claude-mem@X.Y.Z version already resolves, skip the publish and continue with post-publish checks.
  11. Publish to npm — the agent runs it. The old "human handoff" rule is obsolete: the maintainer allows agents to publish. The token is a 30-day granular npm token (read/write on claude-mem only, bypass 2FA) in the maintainer's Mac ~/.npmrc; he issues a new one every month. It is deliberately NOT in any backup (grok-bot-backups excludes secrets), so do not go looking for it elsewhere. Publish from a clean worktree of the tag (inside the project's .scratch/) so uncommitted edits never ship:
    git worktree add --detach .scratch/release-X.Y.Z vX.Y.Z
    cd .scratch/release-X.Y.Z && npm install --ignore-scripts
    npm whoami                    # must print thedotmack; 401 = token expired
    npm publish --access public   # prepublishOnly rebuilds the package
    
    If npm whoami fails, the monthly token has expired. Finish every other step, then: open https://www.npmjs.com/settings/thedotmack/tokens/granular-access-tokens/new

…

자주 묻는 질문

'시맨틱 버저닝(semantic versioning)'은 무엇인가요?

버전 번호(예: 1.0.0)를 정리해 변경 유형을 나타내는 방식입니다. PATCH는 수정, MINOR는 새 기능, MAJOR는 호환되지 않는 변경을 뜻합니다.

왜 여러 파일에서 버전을 업데이트해야 하나요?

프로젝트가 사용되거나 등록되는 곳마다 버전이 다른 파일에서 관리되기 때문입니다. 예를 들어 패키지 레지스트리(npm)와 플러그인 매니페스트가 있습니다.

미리 모든 것을 커밋하지 않으면 어떻게 되나요?

도구가 제대로 작동하지 않거나, 오래된 코드가 담긴 버전이 만들어질 수 있습니다. 도구는 모든 것이 저장되어 준비된 상태라고 가정하기 때문입니다.

상세 정보

작성자의 원본 설명

Automated semantic versioning and release workflow for Claude Code plugins. Handles version increments across package.json, marketplace.json, plugin.json manifests, build verification, git tagging, GitHub releases, and changelog generation. Ends with the agent running npm publish itself using the maintainer's npm token.

repo: thedotmack/claude-mem

인기도

GitHub 스타
101k
순위
#1282
라이선스
Apache-2.0
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬