Skip to content

fix: Build windows binary#314

Merged
dbolson merged 2 commits into
mainfrom
build-windows-binary
Jun 4, 2024
Merged

fix: Build windows binary#314
dbolson merged 2 commits into
mainfrom
build-windows-binary

Conversation

@dbolson
Copy link
Copy Markdown
Contributor

@dbolson dbolson commented May 31, 2024

Realized too late that we need to specify building a windows binary in the goreleaser config. The latest release doesn't have a windows binary.

Requirements

  • I have added test coverage for new or changed functionality
  • I have followed the repository's pull request submission guidelines
  • I have validated my changes against all supported platform versions

Related issues

Provide links to any issues in this repository or elsewhere relating to this pull request.

Describe the solution you've provided

Provide a clear and concise description of what you expect to happen.

Describe alternatives you've considered

Provide a clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context about the pull request here.

Comment thread .goreleaser.yaml
goos:
- linux
- darwin
goarch:
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure we need to specify the goarch values. When I generated a default goreleaser config file it only specifies the goos values.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you don't specify goarch, the docs say the default is '386', 'amd64', 'arm64'. So not sure we need to build for 32 bit processors, but it probably wouldn't hurt.

Copy link
Copy Markdown
Contributor Author

@dbolson dbolson Jun 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cwaldren-ld Screenshot 2024-06-03 at 4 12 19 PM
Updated with defined GOARCH values.

@dbolson dbolson merged commit 282550e into main Jun 4, 2024
@dbolson dbolson deleted the build-windows-binary branch June 4, 2024 17:31
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.

2 participants