-
Notifications
You must be signed in to change notification settings - Fork 7
/
.goreleaser.yml
75 lines (68 loc) · 1.46 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
# vim: set softtabstop=2 tabstop=2 shiftwidth=2:
before:
hooks:
- go mod tidy
- go generate ./...
builds:
- env:
- CGO_ENABLED=0
flags:
- -trimpath
ldflags:
- -s -w
goos:
- linux
- darwin
- windows
goarch:
- 386
- amd64
ignore:
- goos: darwin
goarch: 386
archives:
- files:
- LICENSE
- README.md
name_template: "{{ .ProjectName }}_{{ .Env.GIT_DESCRIBE }}_{{ .Os }}_{{ .Arch }}"
wrap_in_directory: true
format: tar.gz
format_overrides:
- goos: windows
format: zip
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "snapshot-{{ .Env.GIT_DESCRIBE }}"
release:
prerelease: auto
name_template: "{{ .Env.GIT_DESCRIBE }}"
changelog:
filters:
exclude:
- '^docs:'
- '^style:'
- '^chore:'
- '^(?i)WIP:'
- typo
- Merge pull request
- Merge branch
brews:
- github:
owner: mudclient
name: homebrew-tap
folder: Formula
commit_author:
name: goreleaserbot
email: [email protected]
description: "GB2312/GBK/GB18030 与 UTF-8 的编码转换器"
homepage: "https://github.com/fluffos/gbk2utf8"
skip_upload: false
install: |
bin.install "gbk2utf8"