From 8a430f7c726cd7330d6916977d4aaf0370f6771f Mon Sep 17 00:00:00 2001 From: Ivan Klymenchenko Date: Tue, 22 Dec 2020 12:46:06 +0200 Subject: [PATCH] Add goreleaser --- .goreleaser.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .goreleaser.yml diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..55aa4dd --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,29 @@ +project_name: smug + +before: + hooks: + - go mod download +builds: + - 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: "{{ .Tag }}-next" +changelog: + sort: asc + filters: + exclude: + - test + - README