金色时刻 · 15:48
让好资源,触手可及
AGENT SKILL

release

release 是面向软件开发的 Agent Skill,来自 s2-streamstore/s2。查看技能说明、操作步骤与使用约定,并通过原项目了解详细用法。

Release a new version of the project

SKILL.md

下载 MD ↓
namerelease
descriptionRelease a new version of the project

/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

来源:s2-streamstore/s2 · MIT 许可 · 许可原文 · MD 为来源页保存的历史版本