一键导入
release
Release and publish Copex to PyPI. Use this when asked to release, publish, bump version, or create a new version.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Release and publish Copex to PyPI. Use this when asked to release, publish, bump version, or create a new version.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Review code changes in Copex for bugs, style issues, and best practices. Use this when reviewing PRs or code changes.
Debug issues in Copex, especially streaming, content display, and event handling bugs. Use this when investigating bugs, unexpected behavior, or errors.
Add new features to Copex. Use this when asked to implement new functionality, add CLI commands, or extend the client.
Write and run tests for Copex. Use this when asked to write tests, fix tests, improve coverage, or debug test failures.
| name | release |
| description | Release and publish Copex to PyPI. Use this when asked to release, publish, bump version, or create a new version. |
Follow these steps to release a new version of Copex:
python -m pytest tests/ -v
All tests must pass before releasing.
Update version in BOTH files (must stay in sync):
pyproject.toml → change version = "X.Y.Z"src/copex/cli.py → change __version__ = "X.Y.Z"git add -A
git commit -m "chore: bump version to X.Y.Z"
git tag vX.Y.Z
git push
git push --tags
This triggers the PyPI publish workflow.
# PowerShell - clear conflicting env var if needed
$env:GH_TOKEN = $null
gh release create vX.Y.Z --title "vX.Y.Z" --notes "### Changes
- Description of changes"
Check the workflow at: https://github.com/Arthur742Ramos/copex/actions/workflows/publish.yml
### Features
- New feature description
### Bug Fixes
- Bug fix description
### Tests
- Test improvements
If gh auth fails with "Bad credentials":
$env:GH_TOKEN = $null
gh auth status
If PyPI publish fails:
PYPI_API_TOKEN secret is set