semver-cli icon indicating copy to clipboard operation
semver-cli copied to clipboard

Support Homebrew and push releases to GitHub as well

Open kumichou opened this issue 2 months ago • 0 comments

Purpose

Configure automated cross-platform releases with GoReleaser and Homebrew distribution.

Changes Made

  1. GitHub Actions Workflow (.github/workflows/release.yml)
  • Added release workflow triggered on version tags
  • Includes Go setup, testing, and GoReleaser execution
  1. 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

kumichou avatar Nov 19 '25 21:11 kumichou