-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.goreleaser.yml
94 lines (83 loc) · 2.17 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
version: 2
project_name: notmuch-mailmover
builds:
- id: notmuch-mailmover
main: dummy.go
goarch:
- amd64
goos:
- linux
binary: notmuch-mailmover
hooks:
post: sh .ci/build.sh
archives:
- id: notmuch-mailmover
builds:
- notmuch-mailmover
name_template: >-
{{ .ProjectName }}_{{ .Version }}_
{{- if eq .Os "darwin" }}macOS
{{- else if eq .Os "linux" }}Linux
{{- else }}{{ .Os }}{{ end }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{ end }}
format: tar.zst
files:
- LICENSE
- share
nfpms:
- id: notmuch-mailmover
package_name: notmuch-mailmover
builds:
- notmuch-mailmover
formats:
- deb
- rpm
maintainer: Michael Adler <therisen06@gmail.com>
homepage: https://github.com/michaeladler/notmuch-mailmover
description: move notmuch tagged mails into Maildir folders
dependencies:
- notmuch
section: mail
priority: extra
contents:
# zsh completion
- src: share/_notmuch-mailmover
dst: /usr/share/zsh/site-functions/_notmuch-mailmover
# zsh completion for Debian
- src: /usr/share/zsh/site-functions/_notmuch-mailmover
dst: /usr/share/zsh/vendor-completions/_notmuch-mailmover
type: symlink
packager: deb
# bash completion
- src: share/notmuch-mailmover.bash
dst: /usr/share/bash-completion/completions/notmuch-mailmover
# fish completion
- src: share/notmuch-mailmover.fish
dst: /usr/share/fish/completions/notmuch-mailmover.fish
# man page
- src: share/notmuch-mailmover.1.gz
dst: /usr/share/man/man1/notmuch-mailmover.1.gz
# example configurations
- src: example/
dst: /usr/share/doc/notmuch-mailmover/example/
checksum:
name_template: 'checksums.txt'
release:
draft: true
replace_existing_draft: true
changelog:
sort: asc
groups:
- title: Features
regexp: "^.*feat[(\\w)]*:+.*$"
order: 0
- title: "Bug fixes"
regexp: "^.*fix[(\\w)]*:+.*$"
order: 1
- title: Others
order: 999
filters:
exclude:
- "^docs:"
- "^test:"