Debian Codegraph @

goreleaser.yaml

raw symbols SCIP
1 project_name: humanlog
2 before:
3 hooks:
4 - go mod tidy
5 - go generate ./...
6 builds:
7 - main: ./cmd/humanlog/
8 binary: humanlog
9 env:
10 - CGO_ENABLED=0
11 ldflags:
12 - -s -w -X main.versionMajor={{.Major}} -X main.versionMinor={{.Minor}} -X main.versionPatch={{.Patch}} -X main.versionPrerelease={{.Prerelease}} -X main.versionBuild={{.ShortCommit}}
13 goos:
14 - windows
15 - darwin
16 - linux
17 goarch:
18 - amd64
19 - arm64
20 release:
21 github:
22 owner: humanlogio
23 name: humanlog
24 archives:
25 - name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
26 format_overrides:
27 - goos: windows
28 format: zip
29 brews:
30 - tap:
31 owner: humanlogio
32 name: homebrew-tap
33 nfpms:
34 - maintainer: "[email protected]"
35 formats:
36 - deb
37 checksum:
38 name_template: "checksums.txt"
39 # signs:
40 # - cmd: cosign
41 # stdin: "{{ .Env.COSIGN_PWD }}"
42 # args:
43 # [
44 # "sign-blob",
45 # "--key=env://COSIGN_PRIVATE_KEY",
46 # "--output-signature=${signature}",
47 # "${artifact}",
48 # ]
49 # artifacts: all
50 snapshot:
51 name_template: "{{ incpatch .Version }}-next"
52 changelog:
53 sort: asc
54 filters:
55 exclude:
56 - "^docs:"
57 - "^test:"
58 # modelines, feel free to remove those if you don't want/use them:
59 # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
60 # vim: set ts=2 sw=2 tw=0 fo=cnqoj