bump-version
Increment agent version in pyproject.toml. Use when releasing new versions, updating semantic version, or preparing for deployment.
$ Instalar
git clone https://github.com/X-McKay/kubani /tmp/kubani && cp -r /tmp/kubani/.claude/skills/bump-version ~/.claude/skills/kubani// tip: Run this command in your terminal to install the skill
SKILL.md
name: bump-version description: Increment agent version in pyproject.toml. Use when releasing new versions, updating semantic version, or preparing for deployment.
Bump Agent Version
Increment the version of an agent in its pyproject.toml using the semantic versioning script.
Arguments
agent-name: k8s-monitor, news-monitor, core, backup-agent (or 'all')bump-type: patch, minor, major
Commands
List All Agent Versions
python scripts/bump-version.py --list
Bump Version (Dry Run)
python scripts/bump-version.py <agent-name> --type <patch|minor|major> --dry-run
Bump Version
python scripts/bump-version.py <agent-name> --type <patch|minor|major>
Auto-detect from Commits
python scripts/bump-version.py <agent-name> --from-commits
Bump All Agents from Commits
python scripts/bump-version.py all --from-commits
Just Commands
# List versions
just agent-versions
# Bump specific agent
just bump k8s-monitor patch
just bump news-monitor minor
# Auto-detect from commits
just bump-from-commits k8s-monitor
# Preview what would change
just bump-preview k8s-monitor
Semantic Version Rules
- patch (0.1.0 -> 0.1.1): Bug fixes, maintenance (fix:, chore:, refactor:)
- minor (0.1.0 -> 0.2.0): New features (feat:)
- major (0.1.0 -> 1.0.0): Breaking changes (feat!:, BREAKING CHANGE)
Instructions
-
Check current versions - Run
just agent-versionsorpython scripts/bump-version.py --list -
Determine bump type based on changes:
- Bug fix? -> patch
- New feature? -> minor
- Breaking change? -> major
- Unsure? -> Use
--from-commitsto auto-detect
-
Preview the change - Use
--dry-runfirst -
Apply the bump - Run without
--dry-run -
Verify the change:
git diff agents/<agent-name>/pyproject.toml -
Commit the version bump:
git add agents/<agent-name>/pyproject.toml git commit -m "chore(<agent-name>): bump version to <new-version>"
After Bumping
- Run tests:
just test-agent <agent-name> - Build image:
/build <agent-name> push - Deploy:
/deploy <agent-name>
Examples
# Bump k8s-monitor patch version
python scripts/bump-version.py k8s-monitor --type patch
# Bump news-monitor minor version
python scripts/bump-version.py news-monitor --type minor
# Auto-detect from conventional commits
python scripts/bump-version.py k8s-monitor --from-commits
# Bump all agents from commits (useful for releases)
python scripts/bump-version.py all --from-commits --dry-run
Repository

X-McKay
Author
X-McKay/kubani/.claude/skills/bump-version
1
Stars
0
Forks
Updated2d ago
Added1w ago