forked from folbricht/routedns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
72 lines (59 loc) · 1.58 KB
/
.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
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
# goreleaser config for routedns
# mostly uses defaults
# Make sure to check the documentation at https://goreleaser.com
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
version: 1
project_name: routedns
builds:
- binary: routedns
main: ./cmd/routedns/
env:
- CGO_ENABLED=0
goos:
- windows
- darwin
- linux
goarch:
- amd64
- 386
nfpms:
- package_name: routedns
file_name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
vendor: Frank Olbricht
homepage: https://github.com/folbricht/routedns
maintainer: Frank Olbricht <frank.olbricht@gmail.com>
description: RouteDNS acts as a stub resolver and proxy that offers flexible configuration options
license: BSD-3-Clause license
formats:
- deb
- rpm
bindir: /usr/sbin
checksum:
name_template: 'checksums.txt'
release:
github:
owner: folbricht
name: routedns
# If set to true, will not auto-publish the release.
# Default is false.
draft: true
# If set to true, will mark the release as not ready for production.
# Default is false.
prerelease: true
# You can change the name of the GitHub release.
# This is parsed with the Go template engine and the following variables
# are available:
# - ProjectName
# - Tag
# - Version (Git tag without `v` prefix)
# Default is ``
name_template: "{{ .ProjectName }}-{{ .Tag }}"
snapshot:
name_template: "{{ .Version }}~dev1"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'