Skip to content

Release v2.0.0: Go CLI#40

Closed
nimish-ks wants to merge 4 commits into
mainfrom
release-2-0-0
Closed

Release v2.0.0: Go CLI#40
nimish-ks wants to merge 4 commits into
mainfrom
release-2-0-0

Conversation

@nimish-ks
Copy link
Copy Markdown
Member

Summary

  • Update Homebrew formula for the Go CLI 2.0 release
  • Downloads raw binaries instead of zips (PyInstaller bundle with _internal dir is gone)
  • URLs updated to new naming convention: phase_cli_{version}_darwin_{arm64,amd64}
  • Simplified install: single binary, no more _internal directory

Upgrade test

  • New CI job (homebrew-upgrade-test) installs the published 1.x from the tap, then upgrades to 2.0 from this PR
  • Verifies phase --version matches after upgrade
  • Verifies old Python _internal artifacts are cleaned up by Homebrew

Test plan

  • homebrew-tap-validation CI passes on all macOS runners
  • homebrew-upgrade-test CI passes (1.x -> 2.0 upgrade)
  • Manual: brew install phasehq/cli/phase && phase --version returns 2.0.0

- Update formula to download raw binaries instead of zips (no more _internal dir)
- Update URLs to new naming convention: phase_cli_{version}_darwin_{arch}
- Add upgrade test CI job to verify 1.x -> 2.x upgrade path
brew --cellar returns the parent dir with all versions, so the old
1.x _internal dir was found. Use brew --prefix (active linked version)
and run brew cleanup to remove stale versions.
Brew handles symlinks correctly — the active binary always points to
the current version. No need to delete old Cellar entries.
@nimish-ks nimish-ks closed this Mar 13, 2026
@nimish-ks nimish-ks deleted the release-2-0-0 branch March 13, 2026 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant