-
Notifications
You must be signed in to change notification settings - Fork 15
/
.goreleaser.yml
45 lines (43 loc) · 1.05 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
builds:
- main: ./cmd/ciscollector
binary: ciscollector
ldflags:
- -s -w -X 'github.com/klouddb/klouddbshield/pkg/config.Version={{.Version}}'
goos:
- darwin
- linux
goarch:
- amd64
- arm64
env:
- CGO_ENABLED=0
project_name: ciscollector
release:
prerelease: auto
universal_binaries:
- replace: true
checksum:
name_template: 'checksums.txt'
nfpms:
-
file_name_template: "ciscollector_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
vendor: Klouddb
package_name: ciscollector
homepage: https://github.com/klouddb/collector
maintainer: Klouddb <[email protected]>
description: CIS Collecotr
license: BSD 3-Clause
formats:
- deb
- rpm
contents:
# Basic file that applies to all packagers
- src: kshieldconfig_example.toml
dst: /etc/klouddbshield/kshieldconfig.toml
type: config
- src: passwords/*
dst: /etc/klouddbshield/passwords
type: config
- src: python/*
dst: /etc/klouddbshield/python
type: config