-
Notifications
You must be signed in to change notification settings - Fork 11
/
.goreleaser.yml
82 lines (75 loc) · 1.59 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
# vim: set softtabstop=2 tabstop=2 shiftwidth=2:
before:
hooks:
- go generate ./...
builds:
- env:
- CGO_ENABLED=0
flags:
- -trimpath
ldflags:
- -s -w
goos:
- linux
- darwin
- windows
goarch:
- 386
- amd64
- arm
- arm64
goarm:
- 6
- 7
ignore:
- goos: darwin
goarch: 386
archives:
- files:
- LICENSE
- README.md
- config-example.json
- config-example.yaml
name_template: "{{ .ProjectName }}_{{ .Env.GIT_DESCRIBE }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
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
arm: ARM
arm64: ARMv8
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "snapshot-{{ .Env.GIT_DESCRIBE }}"
release:
prerelease: auto
name_template: "{{ .Env.GIT_DESCRIBE }}"
changelog:
filters:
exclude:
- '^Docs:'
- '^Test:'
- '^(?i)WIP:'
- typo
- Merge pull request
- Merge branch
brews:
- tap:
owner: mudclient
name: homebrew-tap
folder: Formula
commit_author:
name: goreleaserbot
email: [email protected]
description: "一个用 Go 语言开发的 MUD 客户端"
homepage: "https://github.com/mudclient/go-mud"
skip_upload: false
install: |
bin.install "go-mud"