github.com/khulnasoft/codebase@v0.0.0-20231214144635-a707781cbb24/.goreleaser.yml (about) 1 # Document: http://goreleaser.com 2 # This config is for normal release. See .goreleaser-nightly.yml for nightly release. 3 before: 4 hooks: 5 - go mod download 6 7 builds: 8 - env: 9 - CGO_ENABLED=0 10 main: ./cmd/codebase/ 11 ldflags: -s -w -X github.com/khulnasoft/codebase/commands.Version={{.Version}} 12 goos: 13 - linux 14 - darwin 15 - windows 16 goarch: 17 - 386 18 - amd64 19 - arm 20 - arm64 21 22 archives: 23 - id: main 24 name_template: >- 25 {{ .ProjectName }}_ 26 {{- .Version }}_ 27 {{- title .Os }}_ 28 {{- if eq .Arch "amd64" }}x86_64 29 {{- else if eq .Arch "386" }}i386 30 {{- else }}{{ .Arch }}{{ end }} 31 {{- with .Arm }}v{{ . }}{{ end }} 32 {{- with .Mips }}_{{ . }}{{ end }} 33 {{- if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }} 34 files: 35 - LICENSE 36 - README.md 37 38 brews: 39 - repository: 40 owner: khulnasoft 41 name: homebrew-tap 42 folder: Formula 43 homepage: https://github.com/khulnasoft/codebase 44 description: Automated code review tool integrated with any code analysis tools regardless of programming language. 45 test: | 46 system "#{bin}/codebase -version" 47 48 checksum: 49 name_template: "checksums.txt" 50 51 snapshot: 52 name_template: "{{ .Tag }}-next" 53 54 changelog: 55 sort: asc 56 filters: 57 exclude: 58 - "^docs:" 59 - "^test:" 60 - "^chore"