From 0ea3fd1c8ccf75e03feb359cab20b024979bdf5f Mon Sep 17 00:00:00 2001 From: Justin Hawkins Date: Mon, 9 Jan 2023 07:45:27 +1030 Subject: [PATCH] Add goreleaser --- .goreleaser.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .goreleaser.yaml diff --git a/.goreleaser.yaml b/.goreleaser.yaml new file mode 100644 index 0000000..2aafe72 --- /dev/null +++ b/.goreleaser.yaml @@ -0,0 +1,32 @@ +before: + hooks: + # clean up/install modules + - go mod tidy +builds: + - main: main.go + env: + - CGO_ENABLED=0 + goos: + - linux + - windows + - darwin +archives: + - replacements: + darwin: Darwin + linux: Linux + windows: Windows + 386: i386 + amd64: x86_64 +checksum: + name_template: 'checksums.txt' +snapshot: + name_template: "{{ incpatch .Version }}-next" +changelog: + sort: asc + filters: + exclude: + - '^Merge:' + - '^docs:' + - '^test:' + - '^[Bb]ump' + - '^[Cc]lean'