-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yaml
96 lines (89 loc) · 2.37 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
project_name: raffi
builds:
- main: dummy.go
goos:
- linux
goarch:
- amd64
binary: raffi
hooks:
post: /bin/bash -c "install -m755 target/linux_amd64/raffi/raffi dist/raffi_linux_amd64_v1/raffi"
archives:
- name_template: >-
{{ .Binary }}_
{{- .Version }}_
{{- .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else if eq .Arch "darwin" }}MacOS
{{- else if eq .Arch "linux" }}Linux
{{- else if eq .Arch "windows" }}Windows
{{- else }}{{ .Arch }}{{ end }}
files:
- LICENSE
- README.md
checksum:
name_template: "checksums.txt"
brews:
- name: raffi
repository:
owner: chmouel
name: raffi
folder: Formula
homepage: "https://github.com/chmouel/raffi"
description: "raffi - fuzzel launcher based on yaml configuration"
install: |
bin.install "raffi" => "raffi"
prefix.install_metafiles
nfpms:
- file_name_template: >-
raffi-
{{- .Version}}_{{.Os}}-
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else if eq .Arch "darwin" }}MacOS
{{- else if eq .Arch "linux" }}Linux
{{- else if eq .Arch "windows" }}Windows
{{- else }}{{ .Arch }}{{ end }}
homepage: https://github.com/chmouel/raffi
description: raffi - fuzzel launcher based on yaml configuration
maintainer: Chmouel Boudjnah <[email protected]>
license: Apache 2.0
formats:
- deb
- rpm
bindir: /usr/bin
changelog:
sort: asc
use: github
filters:
exclude:
- "^docs:"
- "^test:"
- "^Brew formula update"
- Merge pull request
- Merge branch
- go mod tidy
- Update README.md
- "[release] "
universal_binaries:
- replace: true
name_template: "raffi"
release:
prerelease: "false"
aurs:
- name: raffi-bin
homepage: "https://github.com/chmouel/raffi"
description: "raffi - fuzzel launcher based on yaml configuration"
maintainers:
- "Chmouel Boudjnah <[email protected]>"
license: Apache 2.0
private_key: "{{ .Env.AUR_PRIVATE_KEY }}"
git_url: ssh://[email protected]/raffi-bin.git
depends:
- fuzzel
package: |
# bin
install -Dm755 "./raffi" "${pkgdir}/usr/bin/raffi"
# license
install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/raffi/LICENSE"