--- project_name: golangci-lint release: github: owner: golangci name: golangci-lint builds: - binary: golangci-lint goos: &goos - darwin - windows - linux goarch: &goarch - amd64 - i386 env: - CGO_ENABLED=0 main: ./cmd/golangci-lint/ ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} archive: format: tar.gz wrap_in_directory: true format_overrides: - goos: windows format: zip name_template: '{{ .Binary }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' files: - LICENSE - README.md snapshot: name_template: SNAPSHOT-{{ .Commit }} checksum: name_template: '{{ .ProjectName }}-{{ .Version }}-checksums.txt' changelog: sort: asc filters: exclude: - '^docs:' - '^test:' - 'README.md' - Merge pull request - Merge branch dockers: - image: golangci/golangci-lint tag_templates: - '{{ .Tag }}' - 'v{{ .Major }}.{{ .Minor }}' - 'latest' brew: github: owner: golangci name: golangci-lint-formula folder: Formula homepage: https://golangci.com description: Fast linters runner for Go. test: | system "#{bin}/golangci-lint --version" git: short_hash: true