-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
104 lines (87 loc) · 2.38 KB
/
.goreleaser.yaml
File metadata and controls
104 lines (87 loc) · 2.38 KB
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
96
97
98
99
100
101
102
103
version: 2
before:
hooks:
- go mod tidy
- go generate ./...
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- freebsd
- windows
- darwin
archives:
- format: binary
# this name template makes the OS and Arch compatible with the results of `uname`.
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
nfpms:
- package_name: clamdproxy
homepage: https://github.com/miklosn/clamdproxy
maintainer: Miklos Niedermayer <miklos.niedermayer@cray.one>
description: |
A Go proxy for clamd that filters out insecure commands.
formats:
- rpm
- deb
changelog:
# Sort commits by semver if any
sort: asc
# Use custom filters
filters:
# Commit messages matching the regexp listed here will be removed from
# the changelog
exclude:
- "^docs:"
- "^test:"
- "^chore:"
- Merge pull request
- Merge branch
# Groups define how to group commits in the changelog.
# Default is no groups.
groups:
- title: Features
regexp: '^feat[(\\w)]*!?:'
order: 0
- title: Bug Fixes
regexp: '^fix[(\\w)]*!?:'
order: 1
- title: Performance Improvements
regexp: '^perf[(\\w)]*!?:'
order: 2
- title: Changes
regexp: '^refactor[(\\w)]*!?:'
order: 3
- title: Other
order: 999
release:
# GitHub release options
github:
owner: miklosn
name: clamdproxy
# If set to true, will not auto-publish the release.
draft: false
# If set to auto, will use the tag to determine if it should mark as a pre-release
prerelease: auto
# You can change the name of the release.
name_template: "{{.ProjectName}} {{.Tag}}"
# Header for the release body.
header: |
A Go proxy for clamd that filters out insecure commands.
# Footer for the release body.
footer: |
## Installation
```bash
# Download the appropriate binary for your platform from above
chmod +x clamdproxy
./clamdproxy --listen 127.0.0.1:3310 --backend 127.0.0.1:3311
```
For detailed usage instructions, please see the [README](https://github.com/miklosn/clamdproxy/blob/main/README.md).
---
Released by [GoReleaser](https://github.com/goreleaser/goreleaser)