diff --git a/.gitignore b/.gitignore index fb01a0f..b1fd44b 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,4 @@ caddywebp.go go.mod go.sum index.html +dist diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..6a2544d --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,37 @@ +# This is an example goreleaser.yaml file with some sane defaults. +# Make sure to check the documentation at http://goreleaser.com +before: + hooks: +builds: + - binary: caddy + main: ./caddy/main.go + goos: + - windows + - darwin + - linux + - freebsd + goarch: + - amd64 + - 386 + - arm + - arm64 + goarm: + - 6 + - 7 +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: + - '^docs:' + - '^test:'