Skip to content

Add binary distribution via GoReleaser#17

Merged
ChrisJBurns merged 2 commits intomainfrom
version-input
Jan 16, 2026
Merged

Add binary distribution via GoReleaser#17
ChrisJBurns merged 2 commits intomainfrom
version-input

Conversation

@ChrisJBurns
Copy link
Collaborator

Summary

  • Replace go run compilation with pre-built binary downloads for faster action execution
  • Add GoReleaser configuration for multi-platform binary builds (linux/darwin, amd64/arm64)
  • Add release workflow that triggers on version tags
  • Users now specify releaseo_version input to select which release to use

Changes

  • .goreleaser.yml - GoReleaser config for building release binaries
  • .github/workflows/release.yml - Workflow that runs tests and publishes binaries on tag push
  • action.yml - Download pre-built binary instead of using go run, add releaseo_version input
  • README.md - Updated examples and inputs table with new releaseo_version input
  • .gitignore - Ignore GoReleaser dist directory

Benefits

  • Faster execution: No more compile-time overhead on every action run
  • Clear versioning: Users explicitly choose which releaseo version to use
  • Simpler: Avoids composite action limitations with github.action_ref

Test plan

  • Create a test release tag to verify GoReleaser builds binaries correctly
  • Test action in a workflow with the new releaseo_version input
  • Verify download works for all supported platforms

🤖 Generated with Claude Code

ChrisJBurns and others added 2 commits January 15, 2026 23:59
Replace go run compilation with pre-built binary downloads for faster
action execution. Users now specify `releaseo_version` input to select
which release to use.

Changes:
- Add .goreleaser.yml for multi-platform binary builds
- Add release workflow triggered by version tags
- Update action.yml to download and run pre-built binary
- Add releaseo_version input with validation
- Update README examples and inputs table

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Resolve conflicts by keeping releaseo_version input approach (instead of
github.action_ref which doesn't work for composite actions) while
incorporating ldflags for version/commit/date from main.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@ChrisJBurns ChrisJBurns merged commit 6b48724 into main Jan 16, 2026
3 checks passed
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