-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
56 lines (49 loc) · 1.05 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
before:
hooks:
- go mod download
builds:
- id: pronestheus
main: ./cmd/pronestheus/main.go
binary: pronestheus
ldflags:
- -s -w
- -X main.version={{.Version}}
- -X main.commit={{.Commit}}
- -X main.date={{.Date}}
goos:
- linux
- darwin
archives:
- id: archive
replacements:
darwin: macOS
linux: linux
386: i386
amd64: x86_64
# Don't include any additional files into the archives (such as README, CHANGELOG etc).
files:
- none*
checksum:
name_template: 'checksums.txt'
changelog:
skip: true
release:
github:
owner: vvarga007
name: pronestheus
dockers:
- dockerfile: Dockerfile
goos: linux
goarch: amd64
image_templates:
- "vavhab/pronestheus:{{ .Tag }}"
- "vavhab/pronestheus:latest"
nfpms:
- license: MIT
maintainer: vvarga007
homepage: https://github.com/vvarga007/pronestheus
bindir: /usr/local/bin
description: Prometheus exporter for the Nest Learning Thermostat
formats:
- deb
- rpm