Skip to content

Commit

Permalink
chore: add goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
AJ ONeal committed Mar 9, 2022
1 parent acbb8ab commit e70747f
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@

# Dependency directories (remove the comment below to include it)
# vendor/

dist/
43 changes: 43 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
project_name: dashmsg
before:
hooks:
- go mod download
- go mod tidy
- go generate ./...
builds:
- id: dashmsg-default
main: ./cmd/dashmsg/
env:
- CGO_ENABLED=1
goos:
- linux
- windows
- darwin
goarch:
- 386
- amd64
- arm
- arm64
goarm:
- 6
- 7
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: '{{ .Tag }}-next'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'

0 comments on commit e70747f

Please sign in to comment.