forked from HubertBel/lazyorg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
66 lines (60 loc) · 1.46 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
version: 2
before:
hooks:
- go mod tidy
builds:
- main: ./cmd/lazyorg/
goos:
- linux
goarch:
- amd64
env:
- CGO_ENABLED=1
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
archives:
- format: tar.gz
name_template: >-
{{ .ProjectName }}_
{{- .Version }}_
{{- .Os }}_
{{- .Arch }}
files:
- LICENSE*
- README*
checksum:
name_template: "checksums.txt"
aurs:
- name: lazyorg-bin
homepage: "https://github.com/HubertBel/lazyorg"
description: "A simple terminal-based calendar and note-taking application."
license: "MIT"
maintainers:
- "Hubert Belanger <[email protected]>"
private_key: "{{ .Env.AUR_KEY }}"
git_url: "ssh://[email protected]/lazyorg-bin.git"
provides:
- lazyorg
conflicts:
- lazyorg
depends:
- glibc
- sqlite
package: |-
install -Dm755 "./lazyorg" "${pkgdir}/usr/bin/lazyorg"
if [ -f "./LICENSE" ]; then
install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/lazyorg/LICENSE"
fi
if [ -f "./README.md" ]; then
install -Dm644 "./README.md" "${pkgdir}/usr/share/doc/lazyorg/README.md"
fi
commit_author:
name: HubertBel
email: [email protected]
commit_msg_template: "Update to version {{ .Version }}"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"