Skip to content

Commit 8437b91

Browse files
committed
goreleaser: add config
1 parent c8b5d15 commit 8437b91

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
TODO.md
44
gh-md-toc
55
build
6+
7+
dist/

.goreleaser.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
project_name: gh-md-toc
2+
before:
3+
hooks:
4+
# You may remove this if you don't use go modules.
5+
- go mod tidy
6+
builds:
7+
- env:
8+
- CGO_ENABLED=0
9+
main: ./cmd/gh-md-toc
10+
goos:
11+
- linux
12+
- windows
13+
- darwin
14+
goarch:
15+
- amd64
16+
checksum:
17+
name_template: 'checksums.txt'
18+
snapshot:
19+
name_template: "{{ .Tag }}-next"
20+
changelog:
21+
sort: asc
22+
filters:
23+
exclude:
24+
- '^docs:'
25+
- '^test:'
26+
- '^Makefile:'
27+
- '^README:'
28+
- '^gitignore:'
29+
- '^goreleaser:'

0 commit comments

Comments
 (0)