-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
54 lines (54 loc) · 1.26 KB
/
.goreleaser.yaml
File metadata and controls
54 lines (54 loc) · 1.26 KB
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
48
49
50
51
52
53
54
version: 2
before:
hooks:
- make dep
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- "386"
- amd64
- arm
- arm64
goarm: ["6", "7"]
ldflags:
- -s -w
- -X github.com/prometheus/common/version.Version={{.Version}}
- -X github.com/prometheus/common/version.Revision={{.Commit}}
- -X github.com/prometheus/common/version.Branch={{.Branch}}
- -X github.com/prometheus/common/version.BuildDate={{.Date}}
main: ./cmd/keepalived-exporter
nfpms:
- id: keepalived-exporter
package_name: keepalived-exporter
homepage: https://github.com/mehdy/keepalived-exporter
maintainer: Mehdi Khoshnoodi <mehdy.khoshnoody@gmail.com>
description: Prometheus exporter for keepalived
license: GPL-3.0
formats:
- deb
- rpm
bindir: /usr/bin
kos:
- repositories:
- ghcr.io/mehdy/keepalived-exporter
- mehdy/keepalived-exporter
tags:
- latest
- "{{ .Tag }}"
platforms:
- linux/arm/v6
- linux/arm/v7
- linux/arm64
- linux/amd64
- linux/386
base_image: alpine
bare: true
checksum:
name_template: "checksums.txt"
snapshot:
version_template: "{{ incpatch .Version }}-next"
changelog:
use: github-native