-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
64 lines (64 loc) · 1.58 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
builds:
- env:
main: ./cmd/secretsfs
goos:
- linux
goarch:
- amd64
ldflags:
- "-s -w -X main.Version={{.Version}}"
- "-X main.BuildDate={{.Date}}"
archives:
- replacements:
linux: Linux
amd64: x86_64
files:
- 'README.md'
- 'example/*'
- 'docs/*'
- 'LICENSE'
- 'THIRDPARTYLICENSES'
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
nfpms:
- id: secretsfs
file_name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Arch }}"
vendor: https://github.com/muryoutaisuu
homepage: https://github.com/muryoutaisuu/secretsfs
license: MIT License
maintainer: https://github.com/muryoutaisuu
description: Access your secrets like passwords without a client directly from your filesystem with a simple cat call!
formats:
- rpm
- deb
contents:
- src: example/secretsfs-logrotate.conf
dst: /etc/logrotate.d/secretsfs
- src: example/secretsfs.service
dst: /etc/systemd/system/secretsfs.service
- src: example/secretsfs-rsyslog.conf
dst: /etc/rsyslog.d/secretsfs.conf
- src: example/secretsfs.yaml
dst: /etc/secretsfs/secretsfs.yaml
type: "config|noreplace"
- dst: /secretsfs
type: 'dir'
- dst: /etc/secretsfs
type: 'dir'
- dst: /etc/secretsfs/templates
type: 'dir'
replacements:
amd64: "x86_64"
release:
github:
owner: 'muryoutaisuu'
name: 'secretsfs'
prerelease: auto