Skip to content

Commit

Permalink
chore: add .goreleaser.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
danroc committed Apr 28, 2022
1 parent c41d28b commit 711bba8
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/htp
/htp.exe
/htp.exe
dist/
31 changes: 31 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
before:
hooks:
- go mod tidy
gomod:
proxy: true
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
main: ./cmd/htp/
archives:
- replacements:
darwin: macos
386: x86
format_overrides:
- goos: windows
format: zip
wrap_in_directory: true
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-snapshot"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'

0 comments on commit 711bba8

Please # to comment.