-
Notifications
You must be signed in to change notification settings - Fork 7
/
.goreleaser.yml
56 lines (47 loc) · 1.09 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
48
49
50
51
52
53
54
55
56
# Configuration for GoReleaser
# https://goreleaser.com/
version: 2
project_name: wp2reg-luxws
builds:
- main: ./luxws-exporter/
binary: luxws-exporter
env:
- CGO_ENABLED=0
targets:
- go_first_class
flags:
- -trimpath
nfpms:
- description: Prometheus exporter for heat pump controllers
maintainer: M. Hanselmann
bindir: /usr/bin
license: BSD-3-Clause
formats:
- deb
- rpm
contents:
- src: ./README.md
dst: /usr/share/doc/luxws-exporter/README.md
- src: ./LICENSE
dst: /usr/share/doc/luxws-exporter/LICENSE
archives:
- format: tar.gz
wrap_in_directory: true
files:
- LICENSE
- README.md
format_overrides:
- goos: windows
format: zip
changelog:
groups:
- title: Dependencies
regexp: '(?i)^[a-f0-9]{8,64}\s+Bump\s+[-.\w]+/\w.*\sto\s'
order: 1
- order: 0
release:
draft: true
prerelease: auto
snapshot:
version_template: '{{ incpatch .Version }}-snapshot{{ replace (replace .Date ":" "") "-" "" }}+g{{ .ShortCommit }}'
# vim: set sw=2 sts=2 et :