원클릭으로
version-bump
Bump version in Cargo.toml using cargo-version-info bump command
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Bump version in Cargo.toml using cargo-version-info bump command
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Create commits following Angular Conventional Commits format with proper scope naming for consistent changelog generation
Prepare a release including version bump, testing, and PR creation
Run tests, linting, and formatting checks for cargo-fmt-toml
| name | version-bump |
| description | Bump version in Cargo.toml using cargo-version-info bump command |
Use this skill when bumping the version.
Always use cargo version-info bump for version management.
Never use cog bump - it creates local tags which conflict with
the CI workflow that creates tags after tests pass.
# Patch bump: 0.0.1 -> 0.0.2
cargo version-info bump --patch
# Minor bump: 0.1.0 -> 0.2.0
cargo version-info bump --minor
# Major bump: 1.0.0 -> 2.0.0
cargo version-info bump --major
Cargo.tomlCargo.lockREADME.mdchore(version): bump X.Y.Z -> A.B.CThe bump command uses hunk-level selective staging, so it only commits version-related changes. Any other uncommitted work remains unstaged.
cargo version-info bump --patch (or --minor/--major)# Get version from Cargo.toml
cargo version-info current
# Get computed build version (includes git SHA in dev)
cargo version-info build-version
# Check if version changed since last tag
cargo version-info changed
To see what would change without making changes:
# Check current version
cargo version-info current
# Calculate what next patch would be
cargo version-info next
After running bump, verify the commit includes all version-related files:
git log -1 --oneline
git diff HEAD~1 --stat
git status
Important: Check that all files modified by pre-bump hooks are
included in the commit. If git status shows uncommitted version
changes (from hooks), amend the commit:
git add <missing-files>
git commit --amend --no-edit
Then add those files to additional_files in Cargo.toml to prevent
this in future bumps:
[package.metadata.version-info]
additional_files = [
"path/to/file"
]
Then push when ready:
git push origin <branch>