Skip to content

chore(install): remove dead OPENBOOT_VERSION pin from install.sh - #165

Merged
fullstackjam merged 1 commit into
mainfrom
chore/install-sh-dead-version-pin
Sep 9, 2026
Merged

chore(install): remove dead OPENBOOT_VERSION pin from install.sh#165
fullstackjam merged 1 commit into
mainfrom
chore/install-sh-dead-version-pin

Conversation

@fullstackjam

Copy link
Copy Markdown
Member

What does this PR do?

Removes the dead VERSION="${OPENBOOT_VERSION:-latest}" and REPO=... assignments from scripts/install.sh, and the OPENBOOT_VERSION row from the env-var table in AGENTS.md.

Why?

Both variables were assigned on lines 4–5 of install.sh and never read again — the script installs whatever the tap currently publishes via brew install openbootdotdev/tap/openboot, so setting OPENBOOT_VERSION silently did nothing. AGENTS.md still documented it as "Pin version in scripts/install.sh", which is wrong. Found while auditing the openboot.dev docs against v1.0.0 (openbootdotdev/openboot.dev#35 drops the same row from the site's env-vars page).

Testing

  • go vet ./... passes
  • Relevant tests added or updated — no behaviour change; the existing TestIntegration_InstallScript_ExistingInstallUpgrade still passes (go test ./test/integration/ -run InstallScript)
  • Tested locally — bash -n scripts/install.sh and OPENBOOT_DRY_RUN=true bash scripts/install.sh (prints the same "Would perform" plan as before)

Cross-repo checklist

Notes for reviewer

Pure deletion, 3 lines. If a real version pin is wanted later it would have to go through Homebrew (versioned formulae in the tap); the old variable never wired into anything.

VERSION and REPO were assigned at the top of scripts/install.sh and never
read again: the script installs whatever the tap currently publishes via
'brew install openbootdotdev/tap/openboot', so OPENBOOT_VERSION had no
effect. Drop both assignments and the AGENTS.md row that documented the
variable as a working pin, so the env-var table matches what the script
actually reads (OPENBOOT_DRY_RUN only).
@github-actions github-actions Bot added the docs label Sep 9, 2026
@fullstackjam
fullstackjam merged commit f796b52 into main Sep 9, 2026
13 of 14 checks passed
@fullstackjam
fullstackjam deleted the chore/install-sh-dead-version-pin branch September 9, 2026 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant