-
Notifications
You must be signed in to change notification settings - Fork 8
/
.goreleaser.yml
82 lines (71 loc) · 1.75 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# All available options: https://goreleaser.com/customization/
version: 2
project_name: summon-conjur
builds:
- binary: summon-conjur
env:
- CGO_ENABLED=0
goos:
- darwin # MacOS
- linux
- solaris
- windows
goarch:
- amd64
ldflags: []
main: cmd/main.go
# Apple silicon support
- id: summon-conjur-arm
binary: summon-conjur
env:
- CGO_ENABLED=0
goos:
- darwin # MacOS
goarch:
- arm64
ldflags: []
main: ./cmd/main.go
archives:
- id: summon-conjur-release-archive
name_template: "{{.ProjectName}}-{{.Os}}-{{.Arch}}"
format_overrides:
- goos: windows
format: zip
files:
- none* # only package the binary - not defaults: readme, license, changelog
checksum:
name_template: 'SHA256SUMS.txt'
brews:
- description: Conjur provider for Summon
homepage: https://github.com/cyberark/summon-conjur
url_template: https://github.com/cyberark/summon-conjur/releases/download/v{{.Version}}/summon-conjur-{{.Os}}-{{.Arch}}.tar.gz
install: |
target = lib/"summon"
target.install "summon-conjur"
test: |
system lib/"summon"/"summon-conjur", "-V"
repository:
owner: cyberark
name: homebrew-tools
skip_upload: true
nfpms:
- file_name_template: "{{ .ProjectName }}"
vendor: CyberArk
homepage: https://github.com/cyberark/summon-conjur
maintainer: Conjur Maintainers <conj_maintainers@cyberark.com>
description: Conjur provider for Summon
recommends:
- summon
license: MIT
formats:
- deb
- rpm
bindir: /usr/local/lib/summon # where the binary is placed, default summon provider dir
dist: ./dist/goreleaser
release:
disable: false
draft: true
extra_files:
- glob: NOTICES.txt
- glob: LICENSE
- glob: CHANGELOG.md