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

release

根据语义版本号发布项目新版本,自动完成依赖更新、代码提交、包注册发布及标签创建,确保主分支在干净状态下执行完整发布流程。

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

Skills.MD

# /release Release a new version of the project. ## Usage ``` /release [version] ``` If version is not provided, prompt the user for it. ## Steps 1. **Validate version** - should be semver (X.Y.Z) and greater than current 2. **Run release** ```bash just release X.Y.Z ``` This handles: cargo credentials check, version bump in Cargo.toml (3 places), lockfile update, commit, push, crates.io publish, and git tag. ## Notes - Must be on `main` branch with clean working directory - Requires cargo credentials (`cargo login` or `CARGO_REGISTRY_TOKEN`) - If any step fails, stop and report the error - The git tag triggers GitHub Actions to build Docker images and create the GitHub release

评论 0

还没有评论,来抢沙发。