diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..0d4c7c8 --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,39 @@ +# This is an example .goreleaser.yml file with some sane defaults. +# Make sure to check the documentation at http://goreleaser.com +project_name: Bazarr-Sync +before: + hooks: + # You may remove this if you don't use go modules. + - go mod tidy +builds: + - main: ./cmd/bazarr-sync/ + - env: + - CGO_ENABLED=0 + goos: + - linux + - windows + - darwin +archives: + - id: executable + name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' +release: + draft: true +snapshot: + name_template: "{{ incpatch .Version }}-next" +changelog: + groups: + - title: Features + regexp: "^.*feat[(\\w)]*:+.*$" + order: 0 + - title: 'Bug fixes' + regexp: "^.*fix[(\\w)]*:+.*$" + order: 1 + - title: Others + order: 999 + sort: asc + filters: + exclude: + - '^docs:' + - '^doc:' + - '^test:' + - '^wip:'