-
Notifications
You must be signed in to change notification settings - Fork 7
/
.goreleaser.yml
41 lines (38 loc) · 1.26 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
---
project_name: draupnir
builds:
- main: cmd/draupnir/draupnir.go
binary: draupnir
goos:
- linux
- darwin
ldflags: -s -w -X github.com/gocardless/draupnir/pkg/version.Version={{.Version}} -X main.commit={{.Commit}}
brews:
- tap:
owner: gocardless
name: homebrew-taps
commit_author:
name: GoCardless Engineering
email: [email protected]
install: bin.install "draupnir"
description: Client for the draupnir database service
folder: Formula
test: system "draupnir-client help"
nfpms:
- maintainer: GoCardless Engineering <[email protected]>
description: Databases on demand
formats: [deb]
bindir: /usr/local/bin
contents:
- src: "cmd/draupnir-create-instance"
dst: "/usr/local/bin/draupnir-create-instance"
- src: "cmd/draupnir-destroy-image"
dst: "/usr/local/bin/draupnir-destroy-image"
- src: "cmd/draupnir-destroy-instance"
dst: "/usr/local/bin/draupnir-destroy-instance"
- src: "cmd/draupnir-finalise-image"
dst: "/usr/local/bin/draupnir-finalise-image"
- src: "cmd/draupnir-start-image"
dst: "/usr/local/bin/draupnir-start-image"
- src: "scripts/iptables"
dst: "/usr/lib/draupnir/bin/iptables"