Debian Codegraph @

.goreleaser.yml

raw symbols SCIP
1 version: 2
2
3 builds:
4 - id: ffuf
5 binary: ffuf
6 flags:
7 - -trimpath
8 env:
9 - CGO_ENABLED=0
10 ldflags: >-
11 -s -w -X github.com/ffuf/ffuf/v2/pkg/ffuf.VERSION={{ .Version }} -X github.com/ffuf/ffuf/v2/pkg/ffuf.VERSION_APPENDIX= -extldflags '-static'
12 goos:
13 - linux
14 - windows
15 - freebsd
16 - openbsd
17 - darwin
18 goarch:
19 - amd64
20 - "386"
21 - arm
22 - arm64
23 ignore:
24 - goos: freebsd
25 goarch: arm64
26 # Go no longer supports 32-bit ARM on Windows (unsupported GOOS/GOARCH pair
27 # as of modern toolchains), so windows/arm can't be built anymore.
28 - goos: windows
29 goarch: arm
30
31 archives:
32 - id: tgz
33 formats: [tar.gz]
34 # v2 removed archive `replacements`; reproduce the darwin->macOS naming
35 # (e.g. ffuf_2.2.0_macOS_arm64.tar.gz, ffuf_2.2.0_linux_armv6.tar.gz) here.
36 name_template: >-
37 {{ .ProjectName }}_{{ .Version }}_
38 {{- if eq .Os "darwin" }}macOS{{ else }}{{ .Os }}{{ end }}_
39 {{- .Arch }}{{ with .Arm }}v{{ . }}{{ end }}
40 format_overrides:
41 - goos: windows
42 formats: [zip]
43
44 checksum:
45 name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt"
46
47 signs:
48 - artifacts: checksum
49 args:
50 - "--batch"
51 - "-u"
52 - "{{ .Env.GPG_FINGERPRINT }}"
53 - "--output"
54 - "${signature}"
55 - "--detach-sign"
56 - "${artifact}"
57
58 release:
59 prerelease: auto