ccost-release

star 0

ccost のリリース作業。patch/minor/major バージョンを bump して tag push までを自動で行う。「ccost リリースして」「バージョン上げて」「tag push して」「release ccost」等で発火。

mkusaka By mkusaka schedule Updated 6/1/2026

name: ccost-release description: ccost のリリース作業。patch/minor/major バージョンを bump して tag push までを自動で行う。「ccost リリースして」「バージョン上げて」「tag push して」「release ccost」等で発火。 allowed-tools: [Bash, Read, Edit]

ccost Release

ccost のバージョン bump から tag push までを行う。

手順

1. 現在のバージョン確認

grep '^version' Cargo.toml

2. Cargo.toml のバージョン更新

Cargo.tomlversion フィールドを新しいバージョンに書き換える。 特に指定がなければ patch バージョンを +1 する(例: 0.1.110.1.12)。

3. Cargo.lock の更新

cargo build

4. コミット・PR・マージ

commit-commands:commit-push-pr スキルを使ってコミット・PR 作成を行い、マージまで実施する。 コミットメッセージ例: chore: bump version to 0.1.12

5. tag 作成・push

main に戻って最新を pull した後、tag を作成して push する。 tag 名は Cargo.toml のバージョンと一致させること(不一致の場合リリース CI が失敗する)。

git checkout main && git pull
git tag v<NEW_VERSION>
git push origin v<NEW_VERSION>

例:

git tag v0.1.12
git push origin v0.1.12

tag push 後は GitHub Actions が自動でリリースビルド・Homebrew bottle 更新を行うため、追加作業は不要。

Install via CLI
npx skills add https://github.com/mkusaka/ccost --skill ccost-release
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator