forked from cyberark/secretless-broker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
60 lines (52 loc) · 1.09 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
project_name: secretless-broker
builds:
- binary: summon2
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
main: ./cmd/summon2/main.go
- binary: secretless-broker
env:
- CGO_ENABLED=1
flags: --tags netgo
goos:
- linux
goarch:
- amd64
ldflags: -s -w -linkmode external -extldflags "-static"
main: ./cmd/secretless-broker/main.go
archive:
files:
- CHANGELOG.md
- LICENSE.md
- README.md
format_overrides:
- goos: windows
format: zip
name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}_{{.Arch}}"
wrap_in_directory: true
checksum:
name_template: 'SHA256SUMS.txt'
dist: ./dist/goreleaser
git:
short_hash: true
nfpm:
bindir: /usr/bin
description: Secures your apps by making them Secretless
empty_folders:
- /usr/local/lib/secretless
formats:
- deb
- rpm
homepage: https://secretless.io
license: "Apache 2.0"
maintainer: CyberArk Maintainers <[email protected]>
name_template: "{{.ProjectName}}_{{.Version}}_{{.Arch}}"
vendor: CyberArk
snapshot:
name_template: "{{ .Tag }}-next"
release:
disable: true