协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
push-release【开发与工程】Push to GitHub and optionally bump version to trigger PyPI release
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Push code to GitHub. If the pending commits contain feature changes, bump the version number so CI auto-publishes to PyPI.
Check working tree: Ensure no uncommitted changes (prompt user to commit first if dirty).
Determine whether a version bump is needed:
pyproject.tomlgit log origin/main..HEAD --oneline to inspect pending commitsIf bump is needed:
version field in pyproject.toml__version__ in claude_tap/__init__.pygit commit --amend to fold the version bump into the last commit (avoids extra commits)Push:
git push origin main
Confirm CI status:
The CI pipeline works as follows: push to main → auto-tag (only if version changed) → PyPI publish (triggered by new tag).
A version bump is the ONLY way to trigger a new PyPI release. If you push without bumping the version, CI will skip tagging and nothing gets published. So whenever commits include meaningful code changes (features, fixes, improvements), you MUST bump the version before pushing.
pyproject.toml and claude_tap/__init__.py must stay in sync