-
Notifications
You must be signed in to change notification settings - Fork 2
/
.goreleaser.yml
63 lines (51 loc) · 1.2 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
project_name: spring4shell-detect
release:
prerelease: auto
name_template: "{{.ProjectName}}-v{{.Version}}"
github:
owner: whitesource
name: spring4shell-detect
before:
hooks:
- go mod tidy
checksum:
algorithm: sha256
# Disable the generation/upload of the checksum file.
disable: false
builds:
- <<: &build_defaults
binary: spring4shell-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/spring4shell-distribution
description: Tool for discovering "spring4shell" exploit
bindir: /usr/bin
formats:
- deb
- rpm