forked from grandcat/zeroconf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
95 lines (95 loc) · 2.32 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
# you may remove this if you don't use vgo
# - go mod tidy
# - go mod vendor
- go generate ./...
builds:
- env:
- CGO_ENABLED=0
- GO111MODULE=on
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{ .CommitDate }} -X main.builtBy=goreleaser
main: ./cmd/main.go
binary: mdns
goos:
- linux
- darwin
- windows
goarch:
- 386
- amd64
- arm
- arm64
- mips64
- mips64le
- mips
- mipsle
gomips:
- hardfloat
- softfloat
ignore:
- goos: darwin
goarch: 386
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
brews:
- tap:
owner: OpenIoTHub
name: homebrew-tap
folder: Formula
homepage: https://github.com/IoTDevice/zeroconf
description: mdns service finder
test: |
system "#{bin}/mdns -v"
scoop:
bucket:
owner: OpenIoTHub
name: scoop-bucket
homepage: https://github.com/IoTDevice/zeroconf
description: mdns service finder
license: MIT
nfpms:
- file_name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}'
homepage: https://github.com/IoTDevice/zeroconf
description: mdns service finder
maintainer: OpenIoTHub <[email protected]>
license: MIT
vendor: mdns
formats:
- deb
- rpm
scripts:
preinstall: "scripts/install_remove/preinstall.sh"
postinstall: "scripts/install_remove/postinstall.sh"
preremove: "scripts/install_remove/preremove.sh"
postremove: "scripts/install_remove/postremove.sh"
snapcrafts:
- name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}'
summary: mdns service finder.
name: mdns
description: |
mdns service finder
grade: stable
# confinement: classic
publish: true
apps:
mdns:
plugs: ["network", "network-bind"]