diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b62b12c18..b3dd0ae83 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -338,106 +338,6 @@ jobs: subject-checksums: ${{ steps.assets.outputs.checksums }} sbom-path: ${{ steps.assets.outputs.sbom }} - update-homebrew-formula: - # Generate Homebrew formula after all archives (Linux + macOS) are uploaded. - if: ${{ github.repository == 'gastownhall/beads' && startsWith(github.ref, 'refs/tags/v') && !contains(github.ref_name, '-') }} - needs: [goreleaser, goreleaser-macos, attest-release] - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v6 - - - name: Extract version from tag - id: version - run: echo "version=${GITHUB_REF_NAME#v}" >> "$GITHUB_OUTPUT" - - - name: Mint Homebrew tap token - id: homebrew-token - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3 - with: - app-id: ${{ secrets.HOMEBREW_TAP_APP_ID }} - private-key: ${{ secrets.HOMEBREW_TAP_APP_PRIVATE_KEY }} - owner: gastownhall - repositories: homebrew-beads - permission-contents: write - - - name: Generate and push Homebrew formula - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - HOMEBREW_TAP_TOKEN: ${{ steps.homebrew-token.outputs.token }} - run: | - version="${{ steps.version.outputs.version }}" - tag="v${version}" - base_url="https://github.com/gastownhall/beads/releases/download/${tag}" - - # Download checksums (same repo, no --repo needed) - gh release download "${tag}" --pattern checksums.txt --dir /tmp - checksums_file="/tmp/checksums.txt" - - get_sha256() { - local sha - sha=$(grep "$1" "$checksums_file" | awk '{print $1}') - if [ -z "$sha" ]; then - echo "ERROR: missing checksum for $1" >&2 - exit 1 - fi - echo "$sha" - } - - darwin_arm64_sha=$(get_sha256 "beads_${version}_darwin_arm64.tar.gz") - darwin_amd64_sha=$(get_sha256 "beads_${version}_darwin_amd64.tar.gz") - linux_amd64_sha=$(get_sha256 "beads_${version}_linux_amd64.tar.gz") - linux_arm64_sha=$(get_sha256 "beads_${version}_linux_arm64.tar.gz") - - cat > /tmp/bd.rb </dev/null || true +brew untap steveyegge/beads 2>/dev/null || true +brew install beads +``` + **Why Homebrew?** - ✅ Simple one-command install - ✅ Automatic updates via `brew upgrade` diff --git a/integrations/beads-mcp/uv.lock b/integrations/beads-mcp/uv.lock index 37e638023..7b03051bc 100644 --- a/integrations/beads-mcp/uv.lock +++ b/integrations/beads-mcp/uv.lock @@ -80,7 +80,7 @@ wheels = [ [[package]] name = "beads-mcp" -version = "1.0.5" +version = "1.1.0rc1" source = { editable = "." } dependencies = [ { name = "fastmcp" }, diff --git a/website/docs/getting-started/installation.md b/website/docs/getting-started/installation.md index 9a2827c22..798cae45f 100644 --- a/website/docs/getting-started/installation.md +++ b/website/docs/getting-started/installation.md @@ -16,6 +16,16 @@ Complete installation guide for all platforms. brew install beads ``` +Homebrew core's `beads` formula is the supported Homebrew package. If you +previously installed the old tap formula as `bd`, migrate to the core formula: + +```bash +brew uninstall bd +brew untap gastownhall/beads 2>/dev/null || true +brew untap steveyegge/beads 2>/dev/null || true +brew install beads +``` + **Why Homebrew?** - Simple one-command install - Automatic updates via `brew upgrade` diff --git a/website/docs/getting-started/upgrading.md b/website/docs/getting-started/upgrading.md index d6c8ec2ef..fd4231c83 100644 --- a/website/docs/getting-started/upgrading.md +++ b/website/docs/getting-started/upgrading.md @@ -52,6 +52,16 @@ irm https://raw.githubusercontent.com/gastownhall/beads/main/install.ps1 | iex brew upgrade beads ``` +If you still have the old tap formula installed as `bd`, switch to the +Homebrew core formula: + +```bash +brew uninstall bd +brew untap gastownhall/beads 2>/dev/null || true +brew untap steveyegge/beads 2>/dev/null || true +brew install beads +``` + ### go install ```bash