Skip to content

Commit

Permalink
add darwin arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfa committed Sep 12, 2022
1 parent e4a0ecb commit 1d95890
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,22 @@
hooks:
post:
- upx -7 "{{ .Path }}"
- id: arvan_darwin_arm64
main: ./cmd/arvan/arvan.go
binary: arvan
goos:
- darwin
goarch:
- arm64
ldflags:
- -s -w
- -X 'k8s.io/client-go/pkg/version.gitVersion=v{{.Version}}'
- -X 'k8s.io/client-go/pkg/version.gitCommit={{.Commit}}'
- -X 'github.com/openshift/oc/pkg/version.versionFromGit=v{{.Version}}'
- -X 'github.com/openshift/oc/pkg/version.commitFromGit={{.Commit}}'
hooks:
post:
- upx -7 "{{ .Path }}"
archives:
-
format_overrides:
Expand Down

0 comments on commit 1d95890

Please sign in to comment.