diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 7dd65b0..4158720 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -12,6 +12,21 @@ builds: - CGO_ENABLED=0 goos: - linux + goarch: + - amd64 + - arm64 + - arm + goarm: + - "7" + - "6" + ldflags: + - -X {{ .Env.BASE_PKG }}/version.Version={{.Version}} + - -X {{ .Env.BASE_PKG }}/version.Build={{.ShortCommit}} + - -X {{ .Env.BASE_PKG }}/version.BuildDate={{.Date}} + - -X {{ .Env.BASE_PKG }}/version.BuiltBy=goreleaser + - env: + - CGO_ENABLED=0 + goos: - windows - darwin ldflags: