Skip to content

Commit

Permalink
update goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitcharolia committed Jul 20, 2023
1 parent a9abb38 commit 7c98338
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ builds:
binary: goenv-{{ .Os}}-{{ .Arch}}
ldflags: -linkmode external -extldflags -static
env:
- CGO_ENABLED=0 # it tells the Go compiler to produce a statically linked binary without any dynamic library dependencies.
- CGO_ENABLED=1
goos:
- linux
- darwin
goarch:
- amd64
- arm64
- s390x
- ppc64le
ignore:
- goos: darwin
goarch: s390x
Expand Down

0 comments on commit 7c98338

Please sign in to comment.