-
-
Notifications
You must be signed in to change notification settings - Fork 83
/
.goreleaser.yml
72 lines (72 loc) · 1.8 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
# This is an example .goreleaser.yml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
- go mod tidy
builds:
-
id: double-entry-generator
env:
- CGO_ENABLED=0
binary: double-entry-generator
goos:
- linux
- windows
- darwin
goarch:
- 386
- amd64
- arm64
# List of combinations of GOOS + GOARCH + GOARM to ignore.
ignore:
- goos: darwin
goarch: 386
- goos: windows
goarch: arm64
ldflags:
- -s -w
- -X github.com/deb-sig/double-entry-generator/pkg/version.VERSION={{.Version}}
- -X github.com/deb-sig/double-entry-generator/pkg/version.REPOROOT=github.com/deb-sig/double-entry-generator
- -X github.com/deb-sig/double-entry-generator/pkg/version.COMMIT={{.ShortCommit}}
archives:
-
id: double-entry-generator
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Version }}-SNAPSHOT"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
universal_binaries:
- replace: true
brews:
-
name: double-entry-generator
ids:
- double-entry-generator
tap:
owner: deb-sig
name: homebrew-tap
branch: main
commit_author:
name: TripleZ
email: me@triplez.cn
folder: Formula
homepage: https://github.com/deb-sig/double-entry-generator
description: Rule-based double-entry bookkeeping importer (from Alipay/WeChat/Huobi to Beancount).
license: Apache-2.0
# skip_upload: auto
caveats: |
Please run `double-entry-generator help` for more help.
test: |
system "#{bin}/double-entry-generator version"