-
Notifications
You must be signed in to change notification settings - Fork 52
/
.goreleaser.yml
45 lines (45 loc) · 1005 Bytes
/
.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
before:
hooks:
- go mod download
- go test -covermode=atomic -race ./pkg/...
builds:
- env:
- CGO_ENABLED=0
goarch:
- amd64
goos:
- linux
- darwin
ldflags:
- -w -s
- -X main.AppVersion={{.Version}} -X main.GitCommit={{.Commit}}
main: ./cmd/freno/main.go
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
nfpms:
- vendor: GitHub
homepage: https://github.com/github/freno
maintainer: GitHub Engineering <[email protected]>
description: Cooperative, highly available throttler service
license: MIT
bindir: /usr/bin
contents:
- src: "resources/freno.conf.skeleton.json"
dst: "/etc/freno.conf.json"
type: config
- src: "resources/etc/init.d/freno"
dst: "/etc/init.d/freno"
file_info:
mode: 0777
- dst: "/var/lib/freno"
type: dir
formats:
- deb
- rpm
release:
name_template: "GA release {{.Tag}}"
github:
owner: github
name: freno