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