Skip to content

Commit f97ffe3

Browse files
Merge pull request #200 from cblecker/darwin-arm64
Enable darwin_arm64 builds
2 parents 3019037 + e589aaf commit f97ffe3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.goreleaser.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,17 @@ builds:
1414
- darwin
1515
goarch:
1616
- amd64
17+
- arm64
18+
ignore:
19+
- goos: linux
20+
goarch: arm64
1721
ldflags:
1822
# the following line will inject the current git commit and git tag in the binary during the build process.
1923
# .ShortCommit and .Version are template variables that will be set during the GoReleaser run
2024
# The "-X" go flag injects the strings into the two global variables GitCommit and Version
2125
# See also: https://pkg.go.dev/cmd/link
2226
- -s
23-
- -w
27+
- -w
2428
- -X github.com/openshift/osdctl/cmd.GitCommit={{.ShortCommit}}
2529
- -X github.com/openshift/osdctl/cmd.Version={{.Version}}
2630
- "-extldflags=-zrelro" # binary hardening: For further explanation look here: https://www.redhat.com/en/blog/hardening-elf-binaries-using-relocation-read-only-relro

0 commit comments

Comments
 (0)