project_name: pgtidy before: hooks: - go mod tidy - go vet ./... builds: - id: pgtidy main: ./cmd/pgtidy binary: pgtidy ldflags: - -s -w -X main.version={{ .Version }} env: - CGO_ENABLED=0 goos: - linux - darwin - windows goarch: - amd64 - arm64 ignore: - goos: windows goarch: arm64 archives: - id: pgtidy name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" format_overrides: - goos: windows formats: [zip] files: - LICENSE - README.md checksum: name_template: "checksums.txt" changelog: sort: asc use: github filters: exclude: - "^docs:" - "^test:" - "^chore:" - "^ci:" release: github: owner: hein name: pgtidy draft: true