Add release automation and installation methods#20
Conversation
- Update .goreleaser.yaml to v2 format (version: 2) - Change deprecated 'tap' to 'repository' field - Remove deprecated fields: snapshot.name_template, archives.format, checksums, strip_parent_binary_folder - Add HOMEBREW_TAP_GITHUB_TOKEN support for cross-repo Homebrew tap updates - Remove unnecessary Go dependency from Homebrew formula - Add MIT license content to LICENSE file 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
WalkthroughAdds a release pipeline via GitHub Actions and GoReleaser, introduces a full GoReleaser config with Homebrew tap publishing, includes a Bash installer and an HTML redirect page, and updates documentation with installation methods and license. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Dev as Developer
participant GH as GitHub
participant GHA as GitHub Actions
participant GR as GoReleaser
participant Tap as Homebrew Tap Repo
Dev->>GH: Push tag vX.Y.Z
activate GH
GH-->>GHA: Trigger "Release" workflow
deactivate GH
activate GHA
GHA->>GHA: Checkout, setup Go, cache modules
GHA->>GR: Run GoReleaser release
activate GR
GR->>GH: Create release, upload assets
GR->>Tap: Push formula updates (token)
deactivate GR
GHA-->>Dev: Workflow completes
deactivate GHA
note over GR,Tap: Assets: darwin/linux, amd64/arm64 archives with metadata
sequenceDiagram
autonumber
actor U as User
participant Sh as install.sh
participant GH as GitHub Releases
participant OS as System (/usr/local/bin)
U->>Sh: Run install.sh [optional DEVX_VERSION]
Sh->>Sh: Detect OS/Arch, prerequisites
alt DEVX_VERSION=latest
Sh->>GH: GET latest release tag (API)
GH-->>Sh: vX.Y.Z
else specific version
Sh->>Sh: Normalize with v prefix
end
Sh->>GH: Download devx_{{version}}_{{os}}_{{arch}}.tar.gz
GH-->>Sh: tar.gz
Sh->>Sh: Extract binary
Sh->>OS: Install binary (0755)
Sh->>Sh: Verify devx --version
Sh-->>U: Done (path to binary)
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (6)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
🔇 Additional comments (1)
Comment |
Summary
jfox85/homebrew-devxInstallation Methods Added
brew tap jfox85/homebrew-devx && brew install devxcurl -fsSL https://raw.githubusercontent.com/jfox85/devx/main/install/install.sh | bashgo install github.com/jfox85/devx@latestmake build(existing)Technical Details
Testing Completed
✅ Build from source with version injection
✅ GoReleaser snapshot builds
✅ Install script validation
✅ All tests passing with race detection
✅ Code formatting and linting clean
Next Steps After Merge
HOMEBREW_TAP_TOKENGitHub secret (fine-grained PAT)git tag v0.1.0 && git push origin v0.1.0🤖 Generated with Claude Code
Summary by CodeRabbit