Skip to content

Commit

Permalink
goreleaser: add config
Browse files Browse the repository at this point in the history
  • Loading branch information
ekalinin committed Feb 3, 2023
1 parent c8b5d15 commit 8437b91
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
TODO.md
gh-md-toc
build

dist/
29 changes: 29 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
project_name: gh-md-toc
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
main: ./cmd/gh-md-toc
goos:
- linux
- windows
- darwin
goarch:
- amd64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^Makefile:'
- '^README:'
- '^gitignore:'
- '^goreleaser:'

0 comments on commit 8437b91

Please sign in to comment.