-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
64 lines (59 loc) · 1.33 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
# Documentation can be found here: https://goreleaser.com
before:
hooks:
- go mod tidy
builds:
- main: ./cmd/vhost/main.go
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
flags:
- -trimpath
ldflags:
- "-s -w -X github.com/null93/vhost/internal.Version={{ .Version }}"
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Version }}"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
nfpms:
- file_name_template: "{{ .ConventionalFileName }}"
id: packages
homepage: https://github.com/null93/vhost
description: NGINX config structure for provisioning virtual hosts with a CLI tool
maintainer: Rafael Grigorian <rafael@grigorian.org>
vendor: null93
bindir: /usr/bin
contents:
- src: examples
dst: /var/lib/vhost/templates
- type: dir
dst: /var/lib/vhost/checkpoints
- type: dir
dst: /etc/vhost
section: utils
formats:
- apk
- deb
- rpm
- archlinux
brews:
- repository:
owner: null93
name: homebrew-tap
folder: Formula
goarm: "7"
homepage: https://github.com/null93/vhost
description: NGINX config structure for provisioning virtual hosts with a CLI tool
test: |
system "#{bin}/vhost -v"