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>