-
Notifications
You must be signed in to change notification settings - Fork 3
/
.goreleaser.yml
89 lines (89 loc) · 2.75 KB
/
.goreleaser.yml
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
env:
- GO111MODULE=on
before:
hooks:
- go mod tidy
- ./scripts/completions.sh
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- 386
- amd64
- arm
- arm64
ignore:
- goos: windows
goarch: arm64
- goos: windows
goarch: arm
ldflags:
- -s -w -X main.version={{.Version}}
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
files:
- README.md
- LICENSE
- completions/*
checksum:
name_template: '{{ .ProjectName }}_checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- Merge pull request
- Merge branch
- go mod tidy
brews:
- tap:
owner: hupe1980
name: homebrew-scan4log4shell
homepage: https://github.com/hupe1980/scan4log4shell
description: Scanner to send specially crafted requests and catch callbacks of systems that are impacted by log4j log4shell vulnerability and to detect vulnerable log4j versions on your local file-system
license: MIT
test: |
system "#{bin}/scan4log4shell -v"
install: |-
bin.install "scan4log4shell"
bash_completion.install "completions/scan4log4shell.bash" => "scan4log4shell"
zsh_completion.install "completions/scan4log4shell.zsh" => "_scan4log4shell"
fish_completion.install "completions/scan4log4shell.fish"
scoop:
bucket:
owner: hupe1980
name: scan4log4shell-bucket
homepage: https://github.com/hupe1980/scan4log4shell
description: Scanner to send specially crafted requests and catch callbacks of systems that are impacted by log4j log4shell vulnerability and to detect vulnerable log4j versions on your local file-system
license: MIT
nfpms:
- file_name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
homepage: https://github.com/hupe1980/scan4log4shell
maintainer: Frank Hübner <[email protected]>
description: Scanner to send specially crafted requests and catch callbacks of systems that are impacted by log4j log4shell vulnerability and to detect vulnerable log4j versions on your local file-system
license: MIT
contents:
- src: ./completions/scan4log4shell.bash
dst: /etc/bash_completion.d/scan4log4shell
- src: ./completions/scan4log4shell.fish
dst: /usr/share/fish/completions/scan4log4shell.fish
- src: ./completions/scan4log4shell.zsh
dst: /usr/local/share/zsh/site-functions/_scan4log4shell
formats:
- apk
- deb
- rpm