-
Notifications
You must be signed in to change notification settings - Fork 4
/
.goreleaser.yml
47 lines (42 loc) · 1.08 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
project_name: timescaledb-event-streamer
before:
hooks:
- go mod download
builds:
- main: ./cmd/timescaledb-event-streamer
id: timescaledb-event-streamer-builder
env:
- CGO_ENABLED=0
ldflags:
- -X 'github.com/noctarius/timescaledb-event-streamer/internal/version.Branch={{.Branch}}' -X 'github.com/noctarius/timescaledb-event-streamer/internal/version.CommitHash={{.Commit}}'
goos:
- linux
- windows
- freebsd
- darwin
goarch:
- amd64
- arm64
- riscv64
ignore:
- goos: windows
goarch: riscv64
- goos: darwin
goarch: riscv64
- goos: darwin
goarch: arm64
archives:
- id: timescaledb-event-streamer-archiver
name_template: "{{.ProjectName}}-{{.Tag}}-{{.Os}}-{{.Arch}}"
builds:
- timescaledb-event-streamer-builder
format_overrides:
- goos: windows
format: zip
checksum:
name_template: "{{.ProjectName}}-{{.Tag}}-checksums.txt"
changelog:
filters:
exclude:
- "Pre release version update"
- "Post release version update"