-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.goreleaser.yml
97 lines (89 loc) · 2.27 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
95
96
97
before:
hooks:
- go mod tidy
- desktop-file-validate assets/autocorrector.desktop
# - fyne-cross linux -icon assets/icon/autocorrector.png -release -app-version {{.Version}}
builds:
- env:
- CGO_ENABLED=1
goos:
- linux
goarch:
- amd64
hooks:
pre:
- go generate ./...
signs:
- cmd: cosign
stdin: '{{ .Env.COSIGN_PWD }}'
args:
- "sign-blob"
- "--key=cosign.key"
- "--output-signature=${signature}"
- "${artifact}"
- "--yes" # needed on cosign 2.0.0+
artifacts: all
archives:
- format: binary
# release:
# extra_files:
# - glob: fyne-cross/dist/linux-amd64/go-hass-agent.tar.xz
changelog:
use: github-native
sort: asc
abbrev: 0
filters:
exclude:
- '^docs:'
- typo
nfpms:
- id: github.com/joshuar/autocorrector
package_name: autocorrector
file_name_template: "{{ .ConventionalFileName }}"
vendor: joshuar
homepage: https://github.com/joshuar/autocorrector
maintainer: Joshua Rich <[email protected]>
description: |-
Autocorrector is a tool similar to Autokey or AutoHotKey, but targeted mainly at word replacements.
license: MIT
formats:
- deb
- rpm
bindir: /usr/bin
overrides:
rpm:
dependencies:
- libevdev
- libglvnd-glx
- libX11
- libXrandr
- libXxf86vm
- libXi
- libXcursor
- libXinerama
- libcap
deb:
dependencies:
- libevdev2
- libgl1
- libxi6
- libxcursor1
- libxrandr2
- libxinerama1
- libcap2
contents:
- src: LICENSE
dst: /usr/share/licenses/autocorrector/LICENSE
- src: README.md
dst: /usr/share/doc/autocorrector/README.md
- src: USAGE.md
dst: /usr/share/doc/autocorrector/USAGE.md
- src: configs/corrections.toml
dst: /usr/share/autocorrector/corrections.toml
- src: internal/app/assets/icon/autocorrector.png
dst: /usr/share/pixmaps/autocorrector.png
- src: assets/autocorrector.desktop
dst: /usr/share/applications/autocorrector.desktop
scripts:
postinstall: tools/postInstall
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json