Skip to content

ops: Release automation (cargo-release / Homebrew tap / crates.io) #16

Closed

Description

@unhappychoice

Tracks #76 (0.x release scope). brew tap を含む 0.x スコープ。

Release pipeline:

  • cargo-release for version bumps + git tags
  • GitHub Actions workflow to build binaries for linux/mac/windows on tag push
  • GitHub Releases with artifacts
  • Publish to crates.io
  • Homebrew tap: unhappychoice/tap (0.x スコープに含む)

4 配布ルート

0.x で以下の install 動線を全て成立させる:

  1. cargo install splashboard — crates.io 公開
  2. brew install unhappychoice/tap/splashboard — Homebrew tap 経由 (macOS / Linux)
  3. GitHub Releases バイナリ — linux (x86_64 / aarch64) / macOS (x86_64 / aarch64) / windows (x86_64) の tarball + zip
  4. cargo-binstall splashboard — tarball から direct install (GH Releases asset を参照、別途設定不要)

Definition of Done

  • cargo-release 設定 (release.toml or Cargo.toml の release section)
  • tag push トリガの release workflow (.github/workflows/release.yml)
    • multi-target build (linux / macos / windows × x86_64 + aarch64)
    • tarball + zip 生成、GH Release に upload
    • cargo publish で crates.io
  • Homebrew tap リポジトリ unhappychoice/homebrew-tap 作成
    • release workflow から formula を自動更新 (dawidd6/action-homebrew-bump-formula 等)
  • README の install セクションを 4 ルート対応に更新
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ops

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions