diff --git a/.goreleaser.yml b/.goreleaser.yml index df34dde..709eb05 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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: