prep-release
バージョン更新、CHANGELOG整備、パッケージビルドなど、リリース前の準備を行う
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Prepare Release
This skill automates the steps required to prepare a new version release.
Instructions
-
Update Version:
- Ask the user for the new version number (e.g.
0.4.1). - Update
versioninpyproject.toml. - Update
__version__variable ingwexpy/__init__.pyif it exists.
- Ask the user for the new version number (e.g.
-
Update Changelog:
- Read
CHANGELOG.md. - Create a new header for the new version with the current date.
- Move "Unreleased" changes under this new header.
- Read
-
Build Package:
- Clean old distribution files:
rm -rf dist/ build/ *.egg-info. - Run build command:
python -m build. - Check if correct
.tar.gzand.whlfiles are created indist/.
- Clean old distribution files:
-
Verify:
- (Optional) Run
twine check dist/*to verify metadata validation iftwineis available.
- (Optional) Run
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-26
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!