-
Notifications
You must be signed in to change notification settings - Fork 11
/
.goreleaser.yaml
43 lines (39 loc) · 889 Bytes
/
.goreleaser.yaml
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
version: 2
before:
hooks:
- go mod tidy
builds:
- flags:
- -v
ldflags:
- -s -w
- -extldflags=-static
- -X github.com/prometheus/common/version.Version={{.Version}}
- -X github.com/prometheus/common/version.Revision={{.FullCommit}}
- -X github.com/prometheus/common/version.Branch={{.Branch}}
- -X github.com/prometheus/common/version.BuildUser=goreleaser
- -X github.com/prometheus/common/version.BuildDate={{.Date}}
env:
- CGO_ENABLED=1
goos:
- darwin
- linux
goarch:
- amd64
- arm64
overrides:
- goos: linux
goarch: arm64
env:
- CGO_ENABLED=1
- CC=aarch64-linux-gnu-gcc
- CXX=aarch64-linux-gnu-g++
binary: bin/kimsufi-notifier
archives:
- format: binary
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"