Skip to content

Commit

Permalink
feat: Add goreleaser support (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
allisson committed Mar 8, 2021
1 parent 67ac257 commit 6ada213
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -25,3 +25,6 @@ migrate.linux-amd64

# dot env
.env

# goreleaser
dist/
29 changes: 29 additions & 0 deletions .goreleaser.yml
@@ -0,0 +1,29 @@
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
main: ./cmd/postmand/main.go
binary: postmand
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"

0 comments on commit 6ada213

Please sign in to comment.