forked from whitesource/log4j-detect-distribution
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
66 lines (53 loc) · 1.21 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
project_name: log4j-detect
release:
prerelease: auto
name_template: "{{.ProjectName}}-v{{.Version}}"
github:
owner: whitesource
name: log4j-detect-distribution
changelog:
skip: true
before:
hooks:
- go mod tidy
checksum:
algorithm: sha256
# Disable the generation/upload of the checksum file.
disable: false
builds:
- <<: &build_defaults
binary: log4j-detect
main: ./main.go
id: linux
goos: [ linux ]
goarch: [ amd64, arm64 ]
- <<: *build_defaults
id: windows
goos: [ windows ]
goarch: [ amd64, arm64 ]
- <<: *build_defaults
id: macos
goos: [ darwin ]
goarch: [ amd64, arm64 ]
archives:
- <<: &archive_defaults
name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
wrap_in_directory: "false"
files:
- none*
id: unix
builds: [ linux, macos ]
format: tar.gz
- <<: *archive_defaults
id: windows
builds: [ windows ]
format: zip
nfpms:
- maintainer: WhiteSource
vendor: WhiteSource
homepage: https://github.com/whitesource/icu-log4j-distribution
description: Tool for discovering "log4shell" exploit
bindir: /usr/bin
formats:
- deb
- rpm