首页/ AI 技能 / @skilllib/skill-2117939930272416716
Skill站外收录 @skilllib/skill-2117939930272416716

release-prep

自动化执行代码仓库发布全流程,包括检查版本状态、分析变更内容并确定语义化版本号、运行测试、更新多处版本文件、生成符合规范的提交、撰写功能导向的发布说明,以及完成 Git 打标、推送和 GitHub Release 创建。

0.0 (0) 18 次安装 原作者 编程导航
收录于 2026-01-22
开发运维 AI 技能

Skills.MD

# Release Prep ## Overview Follow the code-index-mcp release checklist and use the helper script for quick repo status. Keep this file focused on the high-level workflow; the checklist contains the exact commands. ## Workflow 1. Run `scripts/run_release_checks.py` and review the output. 2. Review changes since the last tag, decide the semver bump, and confirm the target version + branch with the user. 3. Confirm test scope (full vs. -k) and run: `uv run pytest`. 4. Update version files: `pyproject.toml`, `src/code_index_mcp/__init__.py`, `uv.lock`. 5. Ensure the diff only touches the three version files. 6. Commit with Conventional Commits (e.g., `chore(release): vX.Y.Z`). 7. Draft release notes focused only on functional changes (exclude technical-only modifications) and confirm the notes with the user before creating the GitHub release. 8. Tag, push branch + tag, and create the GitHub release. 9. Follow up on CI/deploy jobs. ## Resources ### scripts/ - `scripts/run_release_checks.py` for repo status, latest tag, and version file presence before editing versions. ### references/ - `references/release_checklist.md` for the exact steps, commands, and files.

评论 0

还没有评论,来抢沙发。