AgentSkillsCN

version-bump

升级 pegaflow-llm 软件包版本。当用户提出升级版本、发布新版本、递增版本号,或更新软件包版本时,可使用此技能。

SKILL.md
--- frontmatter
name: version-bump
description: Bump pegaflow-llm package version. Use when the user asks to bump version, release a new version, increment version, or update package version.

Version Bump

Bump the pegaflow-llm Python package version by directly editing python/pyproject.toml.

Bump PATCH Version

Important: Create a branch first since pre-commit hooks forbid commits to master.

  1. Check current version:
bash
grep -E "^version" python/pyproject.toml
  1. Create release branch:
bash
git checkout -b release/v<new_version>
  1. Edit python/pyproject.toml:

Update both version fields:

  • version = "<new_version>" (under [project])
  • version = "<new_version>" (under [tool.commitizen])

Example: 0.0.100.0.11

  1. Commit the change:
bash
git add python/pyproject.toml
git commit -m "chore: bump version to <new_version>"

Workflow

  1. Push the release branch:
bash
git push -u origin release/v<version>
  1. Create a pull request:
bash
gh pr create --title "chore: bump version to <version>" --body "Release v<version>"
  1. After PR review and merge to master:

User will manually create the GitHub release via the web UI or CLI.