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:'