Repository navigation
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
163 lines (154 loc) · 3.84 KB
/
Copy path.goreleaser.yaml
File metadata and controls
163 lines (154 loc) · 3.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
version: 2
before:
hooks:
- go generate ./...
- go mod tidy
- go mod download
- pandoc -s -t man assets/man/fox.md -o fox.1
- pandoc -s -t man assets/man/fox-ad.md -o fox-ad.1
- pandoc -s -t man assets/man/fox-cat.md -o fox-cat.1
- pandoc -s -t man assets/man/fox-hash.md -o fox-hash.1
- pandoc -s -t man assets/man/fox-hunt.md -o fox-hunt.1
- pandoc -s -t man assets/man/fox-info.md -o fox-info.1
- pandoc -s -t man assets/man/fox-str.md -o fox-str.1
- pandoc -s -t man assets/man/fox-time.md -o fox-time.1
builds:
- env:
- CGO_ENABLED=0
ldflags:
- -s -w -X go.foxforensics.eu/fox/v5/internal/pkg/version.Number={{.Version}}
- -s -w -X go.foxforensics.eu/fox/v5/internal/pkg/version.Commit={{.Commit}}
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
ignore:
- goos: darwin
goarch: 386
- goos: linux
goarch: arm
goarm: 7
archives:
- name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
formats: [tar.gz]
format_overrides:
- goos: windows
formats: [zip]
files:
- fox.1
- fox-ad.1
- fox-cat.1
- fox-hash.1
- fox-hunt.1
- fox-info.1
- fox-str.1
- fox-time.1
- README.md
- LICENSE.md
- SECURITY.md
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
checksum:
name_template: "{{ .ProjectName }}_checksums.txt"
algorithm: sha256
sboms:
- id: archive
artifacts: archive
- id: source
artifacts: source
signs:
- cmd: cosign
certificate: "${artifact}.pem"
args:
- sign-blob
- --yes
- "--output-certificate=${certificate}"
- "--output-signature=${signature}"
- "${artifact}"
artifacts: checksum
nfpms:
- vendor: Fox Forensics
homepage: https://foxforensics.eu
maintainer: Fox Forensics <noreply@foxforensics.eu>
description: The Forensic Examiner's Swiss Army Knife.
license: GPL-3.0
file_name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}"
formats:
- archlinux
- apk
- deb
- rpm
provides:
- fox
section: utils
contents:
- src: ./LICENSE.md
dst: /usr/share/doc/fox/copyright
file_info:
mode: 0644
- src: ./fox.1
dst: /usr/share/man/man1/fox.1
file_info:
mode: 0644
- src: ./fox-ad.1
dst: /usr/share/man/man1/fox-ad.1
file_info:
mode: 0644
- src: ./fox-cat.1
dst: /usr/share/man/man1/fox-cat.1
file_info:
mode: 0644
- src: ./fox-hash.1
dst: /usr/share/man/man1/fox-hash.1
file_info:
mode: 0644
- src: ./fox-hunt.1
dst: /usr/share/man/man1/fox-hunt.1
file_info:
mode: 0644
- src: ./fox-info.1
dst: /usr/share/man/man1/fox-info.1
file_info:
mode: 0644
- src: ./fox-str.1
dst: /usr/share/man/man1/fox-str.1
file_info:
mode: 0644
- src: ./fox-time.1
dst: /usr/share/man/man1/fox-time.1
file_info:
mode: 0644
homebrew_casks:
- name: "fox"
description: "The Forensic Examiner's Swiss Army Knife"
homepage: "https://foxforensics.eu/"
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
repository:
owner: foxforensics
name: homebrew-fox
branch: main
token: "{{ .Env.HOMEBREW_TOKEN }}"
hooks:
post:
install: |
if OS.mac?
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/fox"]
end
directory: Casks
license: GPL-3.0
manpages:
- fox.1
- fox-ad.1
- fox-cat.1
- fox-hash.1
- fox-hunt.1
- fox-info.1
- fox-str.1
- fox-time.1