diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..b115d01 --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,23 @@ +builds: + - env: + - CGO_ENABLED=0 + goos: + - windows + - linux + - darwin +archives: + - format: tar.gz + format_overrides: + - goos: windows + format: zip + name_template: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}" +checksum: + name_template: 'checksums.txt' +snapshot: + name_template: "{{ .Tag }}-next" +changelog: + sort: asc + filters: + exclude: + - '^docs:' + - '^test:' \ No newline at end of file diff --git a/Makefile b/Makefile index dc96e4d..6936c86 100644 --- a/Makefile +++ b/Makefile @@ -24,3 +24,6 @@ build-bats: docker-acceptance: build-bats docker run -t bats acceptance.bats + +release: + goreleaser --rm-dist \ No newline at end of file