From 83fe0b75678b75954ca7da8073c8698bc6a04faa Mon Sep 17 00:00:00 2001 From: Rafal Jeczalik Date: Wed, 1 May 2019 19:48:11 +0200 Subject: [PATCH] interfaces: add goreleaser configuration --- .goreleaser.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .goreleaser.yml diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..ed7bb18 --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,30 @@ +archives: +- replacements: + amd64: x86_64 + darwin: Darwin + linux: Linux + windows: Windows +before: + hooks: + - go mod download +builds: +- id: interfacer + env: + - CGO_ENABLED=0 + main: ./cmd/interfacer/main.go + binary: interfacer +- id: structer + env: + - CGO_ENABLED=0 + main: ./cmd/structer/main.go + binary: structer +changelog: + filters: + exclude: + - '^docs:' + - '^test:' + sort: asc +checksum: + name_template: checksums.txt +snapshot: + name_template: '{{ .Tag }}-next'