Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update goreleaser from v0.149.0 to v0.157.0 #104

Merged
merged 1 commit into from
Feb 22, 2021
Merged

update goreleaser from v0.149.0 to v0.157.0 #104

merged 1 commit into from
Feb 22, 2021

Conversation

yob
Copy link
Contributor

@yob yob commented Feb 19, 2021

v0.156.x adds support for compiling a native binary for Apple Silicon systems:

GOOS=darwin GOARCH=arm64 was ignored before this release, since it was
a build for iOS that most people didn't care about and required more
than just go to build.

On Go 1.16, this target is now the macOS on Apple Silicon. GoReleaser
v0.156.0+ is built for Go 1.16+ and will try to build the darwin arm64
target if the config allows it

This is hard to test, we might just have to wait until we're ready to make an actual release.

Closes #94 (probably).

v0.156.x adds support for compiling a native binary for Apple Silicon
systems [1]:

> GOOS=darwin GOARCH=arm64 was ignored before this release, since it was
> a build for iOS that most people didn't care about and required more
> than just go to build.
>
> On Go 1.16, this target is now the macOS on Apple Silicon. GoReleaser
> v0.156.0+ is built for Go 1.16+ and will try to build the darwin arm64
> target if the config allows it

[1] https://github.com/goreleaser/goreleaser/releases/tag/v0.156.2
@yob yob requested a review from chloeruka February 19, 2021 12:20
@yob
Copy link
Contributor Author

yob commented Feb 19, 2021

Extra context: our .goreleaser.yml already has darwin/arm64 in the build matrix, but it was ignored before v0.156.0:

  goos:
    - freebsd
    - windows
    - linux
    - darwin
  goarch:
    - amd64
    - '386'
    - arm
    - arm64
    - ppc64le

Copy link
Contributor

@chloeruka chloeruka left a comment

Choose a reason for hiding this comment

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

Yep!

@yob yob merged commit d55d41d into main Feb 22, 2021
@yob yob deleted the update-goreleaser branch February 22, 2021 05:13
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.

Add darwin/arm64 target once golang 1.16 is released
2 participants