semver-cli
semver-cli copied to clipboard
Support Homebrew and push releases to GitHub as well
Purpose
Configure automated cross-platform releases with GoReleaser and Homebrew distribution.
Changes Made
- GitHub Actions Workflow (.github/workflows/release.yml)
- Added release workflow triggered on version tags
- Includes Go setup, testing, and GoReleaser execution
- GoReleaser Configuration (.goreleaser.yml)
- Multi-platform builds: Linux/Windows/macOS (AMD64 + ARM64)
- Archive configuration with proper naming
- Version/commit/date embedding in binaries
- Automated Homebrew cask PR creation
Benefits
- Automated cross-platform releases
- Homebrew integration (brew install semver-cli)
- Static binaries for portability
- Follows current GoReleaser best practices