Skip to content

Commit f539c46

Browse files
committed
Update GoReleaser config
1 parent 6d6c81d commit f539c46

File tree

1 file changed

+35
-37
lines changed

1 file changed

+35
-37
lines changed

.goreleaser.yml

Lines changed: 35 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,43 @@
1-
1+
env:
2+
- GO111MODULE=on
3+
- CGO_ENABLED=0
4+
before:
5+
hooks:
6+
- go mod tidy
27
builds:
3-
-
4-
env:
5-
- CGO_ENABLED=0
8+
- main: ./cmd/unsavory/
9+
ldflags:
10+
- "-s -w"
611
goos:
712
- darwin
13+
- freebsd
814
- linux
15+
- openbsd
916
- windows
10-
goarch:
11-
- i386
12-
- amd64
13-
- arm
14-
- arm64
15-
goarm:
16-
- 6
17-
- 7
18-
ignore:
19-
- goos: darwin
20-
goarch: 386
21-
- goos: darwin
22-
goarch: arm
23-
- goos: darwin
24-
goarch: arm64
25-
- goos: windows
26-
goarch: 386
27-
- goos: windows
28-
goarch: arm
17+
18+
archives:
19+
- format: tar.gz
20+
format_overrides:
2921
- goos: windows
30-
goarch: arm64
31-
flags: -tags netgo
32-
main: ./cmd/unsavory/main.go
22+
format: zip
23+
replacements:
24+
darwin: macOS
25+
linux: Linux
26+
windows: Windows
27+
386: i386
28+
amd64: x86_64
29+
wrap_in_directory: true
30+
31+
snapshot:
32+
name_template: "{{ .Tag }}-next"
3333
changelog:
3434
sort: asc
35-
filters:
36-
exclude:
37-
- '^docs:'
38-
- '^test:'
39-
- Dockerfile
40-
brew:
41-
github:
42-
owner: citizen428
43-
name: homebrew-tap
44-
homepage: "https://github.com/citizen428/unsavory"
45-
description: "Removes outdated Pinboard bookmarks"
35+
36+
brews:
37+
- name: unsavory
38+
tap:
39+
owner: citizen428
40+
name: homebrew-tap
41+
homepage: "https://github.com/citizen428/unsavory"
42+
description: "Removes outdated Pinboard bookmarks"
43+
license: "MIT"

0 commit comments

Comments
 (0)