-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
221 lines (204 loc) · 6 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
env:
- CGO_ENABLED=0
builds:
- id: armaria-darwin-amd64
binary: armaria
main: ./cmd/cli
goarch:
- amd64
goos:
- darwin
flags:
- -trimpath
ldflags:
- -s
- -w
- -X "main.version={{ .Version }}"
- id: armaria-darwin-arm64
binary: armria
main: ./cmd/cli
goarch:
- arm64
goos:
- darwin
flags:
- -trimpath
ldflags:
- -s
- -w
- -X "main.version={{ .Version }}"
- id: armaria-linux-amd64
binary: armaria
main: ./cmd/cli
goarch:
- amd64
goos:
- linux
flags:
- -trimpath
ldflags:
- -s
- -w
- -X "main.version={{ .Version }}"
- id: armaria-windows-amd64
binary: armaria
main: ./cmd/cli
goarch:
- amd64
goos:
- windows
flags:
- -trimpath
- -buildmode=exe
ldflags:
- -s
- -w
- -X "main.version={{ .Version }}"
universal_binaries:
- id: armaria-darwin-universal
ids:
- armaria-darwin-amd64
- armaria-darwin-arm64
replace: true
name_template: "armaria"
archives:
- id: armaria-linux-archive
builds:
- armaria-linux-amd64
name_template: "armaria_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
wrap_in_directory: false
format: zip
files:
- none*
- id: armaria-windows-archive
builds:
- armaria-windows-amd64
name_template: "armaria_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
wrap_in_directory: false
format: zip
files:
- none*
- id: armaria-macos-archive
builds:
- armaria-darwin-universal
name_template: "armaria_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
wrap_in_directory: false
format: zip
files:
- none*
upx:
- enabled: true
goos: [linux, windows] # UPX doesn't work for MacOS ATM
compress: best
checksum:
name_template: 'checksums.txt'
gomod:
proxy: true
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
sboms:
- artifacts: archive
release:
extra_files:
- glob: ./**/*.snap
snapcrafts:
- id: armaria-snap
builds:
- armaria-linux-amd64
name_template: "armaria_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
name: armaria
title: Armaria
publish: true
summary: Armaria is a fast, open, and local first bookmarks manager.
description: Armaria is a FOSS bookmarks manager that keeps all of your local bookmarks in a SQLite database. You can use many different frontends to manage your bookmarks including browsers, and back them up and/or sync them however you see fit.
confinement: strict
license: MIT
base: core18
extra_files:
- source: ./art/cabinet-light-128.png
destination: meta/gui/icon.png
mode: 0755
apps:
armaria:
command: armaria
plugs: ["dot-mozilla-native-messaging-hosts", "dot-config-google-chrome-native-messaging-hosts", "dot-config-chromium-native-messaging-hosts"]
plugs:
dot-mozilla-native-messaging-hosts:
interface: personal-files
write:
- $HOME/.mozilla/native-messaging-hosts
dot-config-google-chrome-native-messaging-hosts:
interface: personal-files
write:
- $HOME/.config/google-chrome/NativeMessagingHosts
dot-config-chromium-native-messaging-hosts:
interface: personal-files
write:
- $HOME/.config/chromium/NativeMessagingHosts
winget:
- name: Armaria
publisher: Jonathan Hope
short_description: Armaria is a fast, open, and local first bookmarks manager.
license: "mit"
publisher_url: https://github.com/JonathanHope/armaria
publisher_support_url: https://github.com/JonathanHope/armaria/issues/new
package_identifier: Armaria.Armaria
ids:
- armaria-windows-archive
url_template: "https://github.com/JonathanHope/armaria/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
path: manifests/a/Armaria/Armaria/{{ .Version }}
commit_msg_template: "{{ .PackageIdentifier }}: {{ .Version }}"
homepage: https://github.com/JonathanHope/armaria
description: Armaria is a FOSS bookmarks manager that keeps all of your local bookmarks in a SQLite database. You can use many different frontends to manage your bookmarks including browsers, and back them up and/or sync them however you see fit.
license_url: https://github.com/JonathanHope/armaria/blob/main/LICENSE
copyright: Jonathan Hope
release_notes: "{{.Changelog}}"
release_notes_url: "https://github.com/JonathanHope/armaria/releases/tag/{{ .Tag }}"
tags:
- bookmarks
commit_author:
name: Jonathan Hope
email: [email protected]
repository:
owner: JonathanHope
name: winget-pkgs
branch: "{{.ProjectName}}-{{.Version}}"
token: "{{ .Env.WINGET_AUTH_TOKEN }}"
brews:
- name: armaria
ids:
- armaria-macos-archive
url_template: "https://github.com/JonathanHope/armaria/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
download_strategy: CurlDownloadStrategy
commit_author:
name: Jonathan Hope
email: [email protected]
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
folder: Formula
homepage: "https://github.com/JonathanHope/armaria"
description: Armaria is a fast, open, and local first bookmarks manager.
license: "MIT"
repository:
owner: JonathanHope
name: homebrew-armaria
branch: main
token: "{{ .Env.TAP_AUTH_TOKEN }}"
nix:
- name: armaria
ids:
- armaria-linux-archive
url_template: "https://github.com/JonathanHope/armaria/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
commit_author:
name: Jonathan Hope
email: [email protected]
commit_msg_template: "{{ .ProjectName }}: {{ .Tag }}"
homepage: https://github.com/JonathanHope/armaria
description: Armaria is a fast, open, and local first bookmarks manager.
license: "mit"
repository:
owner: JonathanHope
name: nur-armaria
branch: master
token: "{{ .Env.NUR_AUTH_TOKEN }}"