Skip to content

Commit 7f0fd35

Browse files
committed
Update goreleaser config file
1 parent df2ae29 commit 7f0fd35

File tree

1 file changed

+28
-13
lines changed

1 file changed

+28
-13
lines changed

.goreleaser.yml

Lines changed: 28 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,35 @@
1-
# Build customization
1+
# This is an example .goreleaser.yml file with some sane defaults.
2+
# Make sure to check the documentation at http://goreleaser.com
3+
before:
4+
hooks:
5+
# You may remove this if you don't use go modules.
6+
- go mod tidy
27
builds:
3-
- binary: fy
4-
main: ./cmd/fy
8+
- env:
9+
- CGO_ENABLED=0
510
goos:
6-
- darwin
711
- linux
812
- windows
9-
goarch:
10-
- amd64
11-
13+
- darwin
14+
archives:
15+
- replacements:
16+
darwin: Darwin
17+
linux: Linux
18+
windows: Windows
19+
386: i386
20+
amd64: x86_64
21+
checksum:
22+
name_template: 'checksums.txt'
23+
snapshot:
24+
name_template: "{{ .Tag }}-next"
25+
changelog:
26+
skort: asc
27+
filters:
28+
exclude:
29+
- '^docs:'
30+
- '^test:'
1231
brew:
13-
github:
32+
tap:
1433
owner: xwjdsh
1534
name: homebrew-tap
1635

@@ -20,11 +39,7 @@ brew:
2039

2140
homepage: "https://github.com/xwjdsh/fy"
2241
description: "A command-line translation tool"
42+
license: "MIT"
2343

2444
install: |
2545
bin.install "fy"
26-
27-
release:
28-
github:
29-
owner: xwjdsh
30-
name: fy

0 commit comments

Comments
 (0)