From 451295bc9ffefcc99323b5989654e1a573462e4b Mon Sep 17 00:00:00 2001 From: Jauder Ho Date: Sat, 1 Jan 2022 09:41:11 -0800 Subject: [PATCH] Create .goreleaser.yml (#821) Add initial .goreleaser.yml file --- .goreleaser.yml | 60 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 .goreleaser.yml diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 000000000..1a2d2d71f --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,60 @@ +# .goreleaser.yml +before: + hooks: + - go mod tidy +builds: + - env: + - CGO_ENABLED=0 + goos: + - linux + - windows + - darwin + - freebsd + - aix + goarch: + - 386 + - amd64 + - arm + - arm64 + - s390x + - ppc64le + - ppc64 + - riscv64 + goarm: + - 6 + - 7 + ignore: + - goos: linux + goarch: ppc64 + - goos: darwin + goarch: arm + - goos: darwin + goarch: ppc64le + - goos: darwin + goarch: s390x + - goos: windows + goarch: arm64 + - goos: windows + goarch: arm + - goos: windows + goarch: ppc64le + - goos: windows + goarch: s390x + - goos: freebsd + goarch: arm + - goos: freebsd + goarch: s390x + dir: . + main: ./cmd/mlr + flags: + - -trimpath + #ldflags: + # - -s -w + +checksum: + algorithm: sha256 + +release: + github: + owner: johnkerl + name: miller