push-release
FeaturedPush to GitHub and optionally bump version to trigger PyPI release
Code & Development 3,191 stars
277 forks Updated 2 weeks ago MIT
Install
Quality Score: 92/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Push & Release
Push code to GitHub. If the pending commits contain feature changes, bump the version number so CI auto-publishes to PyPI.
## Workflow
1. **Check working tree**: Ensure no uncommitted changes (prompt user to commit first if dirty).
2. **Determine whether a version bump is needed**:
- Read current version from `pyproject.toml`
- Run `git log origin/main..HEAD --oneline` to inspect pending commits
- If commits include feature changes (feat/fix/refactor, not purely docs/chore/test), a bump is needed
- If only docs, tests, or CI changes, skip the bump
3. **If bump is needed**:
- Choose bump level based on change type:
- **patch** (0.1.4 → 0.1.5): bug fixes, minor improvements
- **minor** (0.1.4 → 0.2.0): new features
- **major** (0.1.4 → 1.0.0): breaking changes
- Update the `version` field in `pyproject.toml`
- Update `__version__` in `claude_tap/__init__.py`
- `git commit --amend` to fold the version bump into the last commit (avoids extra commits)
4. **Push**:
```bash
git push origin main
```
5. **Confirm CI status**:
- Inform the user that CI will automatically: lint → test → auto-tag → PyPI publish
- Provide the GitHub Actions link: https://github.com/liaohch3/claude-tap/actions
## Important: Version Bump = PyPI Release
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 ...
Details
- Author
- liaohch3
- Repository
- liaohch3/claude-tap
- Created
- 6 months ago
- Last Updated
- 2 weeks ago
- Language
- Python
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Listed
publish
Prepare a version bump through a feature branch and pull request; merging to main auto-tags and publishes the release. Triggers on 'publish', 'release', 'bump version'.
16 Updated yesterday
K-dash Code & Development Listed
release
Use when cutting an agent-collab release, bumping the version, tagging, publishing GitHub release notes, or planning versions with milestones.
3 Updated 2 weeks ago
lauriparviainen AI & Automation Listed
releasing
Cut a new version of one of the owner's public GitHub repos. Use whenever the owner asks to publish, ship, tag, bump, or release a version (patch/minor/major, CHANGELOG promotion, tag, GitHub Release). Adapts the steps to the repo lock (PR workflow vs direct-to-main) and docs language.
1 Updated 6 days ago
qiaeru