deploy-to-publish
スター11
フォーク0
更新日2026年3月21日 03:05
Bumps the git tag using semantic-version rules before publishing
インストール
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SKILL.md
readonlyメニュー
Bumps the git tag using semantic-version rules before publishing
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | deploy-to-publish |
| description | Bumps the git tag using semantic-version rules before publishing |
Use this skill whenever you need to publish a new build and the version tag must be incremented (always prefixed with v, e.g. v1.0.0).
patch (default), minor, or major.git fetch --tagsv0.0.0 if none exist):
git describe --tags --abbrev=0v and parse the remainder into MAJOR.MINOR.PATCH numbers.version field in package.json to match the new MAJOR.MINOR.PATCH value.package.json was modified, commit and push the changes:
git add package.jsongit commit -m "chore: bump version to <newVersion>"git push originbumpType, update the numbers:
patch (or unspecified): increment PATCH only, e.g. 1.0.10 -> 1.0.11.minor: increment MINOR, reset PATCH to 0, e.g. 1.2.5 -> 1.3.0.major: increment MAJOR, reset MINOR and PATCH to 0, e.g. 1.2.5 -> 2.0.0.vMAJOR.MINOR.PATCH):
git tag v<newVersion>git push origin v<newVersion>