github.com/go-swagger/go-swagger@v0.31.0/.goreleaser.yml (about) 1 # This is an example goreleaser.yaml file with some sane defaults. 2 # Make sure to check the documentation at http://goreleaser.com 3 before: 4 hooks: 5 - go mod tidy 6 builds: 7 - main: ./cmd/swagger/swagger.go 8 binary: "swagger" 9 env: 10 - CGO_ENABLED=0 11 goos: 12 - linux 13 - darwin 14 - windows 15 goarch: 16 - 386 17 - amd64 18 - arm 19 - arm64 20 - ppc64le 21 - s390x 22 23 goarm: 24 - "6" 25 - "7" 26 goamd64: 27 - v2 28 - v3 29 - v4 30 archives: 31 - format: binary 32 wrap_in_directory: false 33 name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ if not (eq .Amd64 \"v1\") }}{{ .Amd64 }}{{ end }}" 34 checksum: 35 name_template: 'checksums.txt' 36 snapshot: 37 name_template: "{{ .Tag }}-next" 38 changelog: 39 sort: asc 40 filters: 41 exclude: 42 - '^docs:' 43 - '^test:'