fix(formula): add dev build handling to local-install step
The local-install step now includes instructions for developers who build bd from source. This ensures all bd binaries in PATH are updated, not just the release binary downloaded by the install script. Executed-By: beads/crew/emma Rig: beads Role: crew
This commit is contained in:
committed by
gastown/crew/joe
parent
0d99d15370
commit
ba3a725299
@@ -711,22 +711,49 @@ needs = ["verify-github", "verify-npm", "verify-pypi"]
|
||||
description = """
|
||||
Update local bd to the new version.
|
||||
|
||||
Option 1 - Homebrew:
|
||||
**Step 1: Install release binary**
|
||||
|
||||
Option A - Homebrew:
|
||||
```bash
|
||||
brew upgrade bd
|
||||
```
|
||||
|
||||
Option 2 - Install script:
|
||||
Option B - Install script:
|
||||
```bash
|
||||
curl -fsSL https://raw.githubusercontent.com/steveyegge/beads/main/scripts/install.sh | bash
|
||||
```
|
||||
|
||||
Verify:
|
||||
**Step 2: Check for dev builds (developers only)**
|
||||
|
||||
If you build bd from source, you may have multiple `bd` binaries in your PATH:
|
||||
```bash
|
||||
bd --version
|
||||
which -a bd
|
||||
```
|
||||
|
||||
Should show {{version}}.
|
||||
Common locations:
|
||||
- `~/.local/bin/bd` - release binary (installed above)
|
||||
- `~/go/bin/bd` - Go dev build
|
||||
- Project worktree builds
|
||||
|
||||
**If you have a dev build that takes precedence**, rebuild from source:
|
||||
```bash
|
||||
# From the beads source directory
|
||||
make install
|
||||
|
||||
# Or using go install directly
|
||||
go install -ldflags="-X main.Build=$(git rev-parse --short HEAD)" ./cmd/bd
|
||||
```
|
||||
|
||||
**Verify ALL bd binaries are updated:**
|
||||
```bash
|
||||
# Check which bd runs by default
|
||||
which bd && bd --version
|
||||
|
||||
# If you have go/bin/bd, verify it too
|
||||
test -f ~/go/bin/bd && ~/go/bin/bd --version
|
||||
```
|
||||
|
||||
All should show {{version}}.
|
||||
"""
|
||||
|
||||
[[steps]]
|
||||
|
||||
Reference in New Issue
Block a user