Skip to content

feat(build): Add Windows amd64 and arm64 builds to GoReleaser#40

Merged
rianjs merged 1 commit intomainfrom
feat/add-windows-builds
Jan 17, 2026
Merged

feat(build): Add Windows amd64 and arm64 builds to GoReleaser#40
rianjs merged 1 commit intomainfrom
feat/add-windows-builds

Conversation

@rianjs
Copy link
Copy Markdown
Collaborator

@rianjs rianjs commented Jan 17, 2026

Summary

Add Windows platform support to .goreleaser.yml to enable distribution via Chocolatey and Winget.

Changes

  • Add windows to the goos list for cross-compilation
  • Add format_overrides to use zip format for Windows archives (Windows users expect zip, not tar.gz)
  • Update to non-deprecated formats syntax (list-based) per GoReleaser v2

Output

After this change, releases will include:

  • newrelic-cli_*_darwin_amd64.tar.gz
  • newrelic-cli_*_darwin_arm64.tar.gz
  • newrelic-cli_*_linux_amd64.tar.gz
  • newrelic-cli_*_linux_arm64.tar.gz
  • newrelic-cli_*_windows_amd64.zip (new)
  • newrelic-cli_*_windows_arm64.zip (new)

Verification

Ran make snapshot locally and confirmed:

  • Windows binaries are built (newrelic-cli.exe)
  • Windows archives use .zip format
  • checksums.txt includes Windows archive hashes
  • No deprecation warnings

Closes #35

Add Windows platform support to enable distribution via Chocolatey and
Winget package managers.

Changes:
- Add 'windows' to goos list for cross-compilation
- Add format_overrides to use zip format for Windows archives
- Update to non-deprecated formats syntax (list-based)

Produces:
- newrelic-cli_*_windows_amd64.zip
- newrelic-cli_*_windows_arm64.zip
@rianjs rianjs merged commit b227ff5 into main Jan 17, 2026
2 checks passed
@rianjs rianjs deleted the feat/add-windows-builds branch January 17, 2026 21:00
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.

feat(build): Add Windows amd64 and arm64 builds to GoReleaser

1 participant