-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
46 lines (42 loc) · 1.29 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
version: 2
before:
hooks:
- go mod tidy
builds:
- goos:
- 'darwin'
ldflags:
- -s -w -X github.com/{{ .Env.GITHUB_REPOSITORY_OWNER }}/{{ .ProjectName }}/cmd.version={{ .Version }}
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
brews:
- commit_author:
name: goreleaserbot
email: [email protected]
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{.Tag}}"
directory: Formula
caveats: |
Please check usage at README:
https://github.com/{{ .Env.GITHUB_REPOSITORY_OWNER }}/{{ .ProjectName }}/blob/main/README.md
homepage: "https://github.com/{{ .Env.GITHUB_REPOSITORY_OWNER }}/{{ .ProjectName }}"
description: "This app is a daemon that converts Reminders.app data into metrics in Prometheus Exporter format and provides them."
license: MIT
skip_upload: auto
dependencies:
- name: reminders-cli
os: mac
service: |
run [opt_bin/"{{ .ProjectName }}", "serve"]
keep_alive true
log_path var/"log/{{ .ProjectName }}.log"
error_log_path var/"log/{{ .ProjectName }}.log"
test: |
system "#{bin}/{{ .ProjectName }} --help"
repository:
owner: "{{ .Env.GITHUB_REPOSITORY_OWNER }}"
name: homebrew-etc
branch: main