[mirror] convert json to go types olexsmir.xyz/json2go
at main 643 B view raw
1# yaml-language-server: $schema=https://goreleaser.com/static/schema.json 2# vim: set ts=2 sw=2 tw=0 3 4version: 2 5 6builds: 7 - main: ./cmd/json2go 8 env: 9 - CGO_ENABLED=0 10 goos: 11 - linux 12 - darwin 13 - windows 14 15archives: 16 - formats: [tar.gz] 17 name_template: >- 18 {{ .ProjectName }}_ 19 {{- title .Os }}_ 20 {{- if eq .Arch "amd64" }}x86_64 21 {{- else if eq .Arch "386" }}i386 22 {{- else }}{{ .Arch }}{{ end }} 23 {{- if .Arm }}v{{ .Arm }}{{ end }} 24 format_overrides: 25 - goos: windows 26 formats: [zip] 27 28changelog: 29 sort: asc 30 filters: 31 exclude: 32 - "^docs:" 33 - "^test:"