From 040c9118b814cf6524b6fd2936a86af9583835d1 Mon Sep 17 00:00:00 2001 From: Will Roden Date: Tue, 5 Nov 2019 17:52:31 -0600 Subject: [PATCH] add goreleaser.yml --- .gitignore | 1 + .goreleaser.yml | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 .goreleaser.yml diff --git a/.gitignore b/.gitignore index a19dd1c..b990d87 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ tmp/ bin/ +dist/ diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..dcaa444 --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,21 @@ +# This is an example goreleaser.yaml file with some sane defaults. +# Make sure to check the documentation at http://goreleaser.com +before: + hooks: + - script/lint +builds: + - id: bindownloader + main: ./cmd/bindownloader + env: + - CGO_ENABLED=0 +archives: +checksum: + name_template: 'checksums.txt' +snapshot: + name_template: "{{ .Tag }}-next" +changelog: + sort: asc + filters: + exclude: + - '^docs:' + - '^test:'