-
Notifications
You must be signed in to change notification settings - Fork 3
/
goreleaser.yml
36 lines (33 loc) · 987 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
# View goreleaser docs for configuration settings
# https://goreleaser.com
---
project_name: pgsink
builds:
- binary: pgsink
main: cmd/pgsink/main.go
goos:
- darwin
- linux
goarch:
- amd64
ldflags: >
-X github.com/lawrencejones/pgsink/cmd/pgsink/cmd.Version={{.Version}}
-X github.com/lawrencejones/pgsink/cmd/pgsink/cmd.Commit={{.Commit}}
-X github.com/lawrencejones/pgsink/cmd/pgsink/cmd.Date={{.Date}}
-a
-installsuffix cgo
env:
# Ensure what we link is available even without libc.
- CGO_ENABLED=0
# Set this so we can run specific pre-flights for whenever goreleaser is
# active.
- GORELEASER=true
nfpms:
- vendor: lawrencejones.dev
homepage: https://github.com/lawrencejones/pgsink
maintainer: Lawrence Jones [email protected]
description: >
Logically replicate data out of Postgres into sinks (files, Google
BigQuery, etc)
formats:
- deb