-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.goreleaser.yml
67 lines (53 loc) · 1.33 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
before:
hooks:
- go mod download
builds:
- env:
- CGO_ENABLED=1
main: ./cmd/qumomf/main.go
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.buildDate={{.Date}}
goarch:
- amd64
goos:
- linux
archives:
- files:
- LICENSE
- README.md
- config/*
checksum:
name_template: 'checksums.txt'
# Algorithm to be used.
# Accepted options are sha256, sha512, sha1, crc32, md5, sha224 and sha384.
# Default is sha256.
algorithm: sha256
snapshot:
name_template: "{{ .Tag }}-SNAPSHOT-{{.ShortCommit}}"
changelog:
skip: true
nfpms:
- id: default
package_name: qumomf
vendor: citymobil
maintainer: Pavel Parshin <pparshin@city-mobil.ru>, Aleksandr Petrukhin <a.petrukhin@city-mobil.ru>
homepage: https://github.com/shmel1k/qumomf
description: Tarantool vshard HA tool supports auto discovery and recovery
license: MIT
formats:
- deb
- rpm
dependencies: ~
recommends: ~
suggests: ~
conflicts: ~
bindir: /usr/local/bin
epoch: 1
release: 1
scripts:
postinstall: "scripts/postinstall.sh"
preremove: "scripts/preremove.sh"
files:
"scripts/etc/systemd/**": "/etc/systemd/system"
config_files:
"config/qumomf.daemon.min.conf.yml": "/etc/qumomf/conf.yml"