Debian Codegraph @

.goreleaser.yaml

raw
1 builds:
2 - goos:
3 - linux
4 - windows
5 - darwin
6 goarch:
7 - amd64
8 - arm64
9 env:
10 - CGO_ENABLED=0
11 id: "gotpm"
12 main: ./cmd/gotpm
13 binary: gotpm
14
15 archives:
16 - format: tar.gz
17 # this name template makes the OS and Arch compatible with the results of uname.
18 name_template: >-
19 {{ .ProjectName }}_
20 {{- title .Os }}_
21 {{- if eq .Arch "amd64" }}x86_64
22 {{- else if eq .Arch "386" }}i386
23 {{- else }}{{ .Arch }}{{ end }}
24 {{- if .Arm }}v{{ .Arm }}{{ end }}
25 # use zip for windows archives
26 format_overrides:
27 - goos: windows
28 format: zip
29 checksum:
30 name_template: 'checksums.txt'
31 snapshot:
32 name_template: "{{ incpatch .Version }}-next"
33 changelog:
34 sort: asc
35 filters:
36 exclude:
37 - '^docs:'
38 - '^test:'
39
40 # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
41 # vim: set ts=2 sw=2 tw=0 fo=cnqoj