-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
67 lines (58 loc) · 1.24 KB
/
.goreleaser.yaml
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
67
before:
hooks:
- apt-get update
- apt-get install upx -y
project_name: cyberark-conjur-service-broker
builds:
- main: ./cmd/conjur_service_broker
binary: cyberark-conjur-service-broker
env:
- CGO_ENABLED=0
flags:
- -tags=netgo
- -a
ldflags:
- -w
goos:
- linux
goarch:
- amd64
archives:
- id: cyberark-conjur-service-broker-archive
format: zip
name_template: "{{ .ProjectName }}_{{ .Env.VERSION }}"
files:
- LICENSE
- README.md
- CHANGELOG.md
- NOTICES.txt
- SECURITY.md
- VERSION
- src: configs/manifest.yml
strip_parent: true
wrap_in_directory: false
checksum:
name_template: 'SHA256SUMS.txt'
upx:
-
# Whether to enable it or not.
enabled: true
# Compress argument.
# Valid options are from '1' (faster) to '9' (better), and 'best'.
compress: best
# Whether to try LZMA (slower).
lzma: true
snapshot:
name_template: "{{ incpatch .Version }}-next"
dist: dist/goreleaser/
release:
disable: true
draft: true
extra_files:
- glob: LICENSE
- glob: README.md
- glob: CHANGELOG.md
- glob: NOTICES.txt
- glob: SECURITY.md
- glob: VERSION
- glob: manifest.yml