-
Notifications
You must be signed in to change notification settings - Fork 5
/
.goreleaser.yml
49 lines (44 loc) · 1.23 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
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
# you may remove this if you don't use vgo
- go mod tidy
# you may remove this if you don't need go generate
- go generate ./...
builds:
- ldflags: -s -w -X github.com/devmatic-it/debcvescan/cmd.ProductVersion={{.Version}}
env:
- CGO_ENABLED=0
main: ./main.go
goos:
- linux
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
nfpms:
- id: debcvescan
package_name: debcvescan
file_name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
builds:
- debcvescan
vendor: Devmatic IT
homepage: https://github.com/devmatic-it/debcvescan
maintainer: F. Bator <[email protected]>
description: CVE Security Scanner for Debian Linux distributions using official Debian Security Bug Tracker <https://security-tracker.debian.org/tracker>.
license: Apache 2.0
# Formats to be generated.
formats:
- deb
bindir: /usr/bin