Skip to content

Commit e70747f

Browse files
author
AJ ONeal
committed
chore: add goreleaser
1 parent acbb8ab commit e70747f

File tree

2 files changed

+45
-0
lines changed

2 files changed

+45
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@
1515

1616
# Dependency directories (remove the comment below to include it)
1717
# vendor/
18+
19+
dist/

.goreleaser.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
project_name: dashmsg
2+
before:
3+
hooks:
4+
- go mod download
5+
- go mod tidy
6+
- go generate ./...
7+
builds:
8+
- id: dashmsg-default
9+
main: ./cmd/dashmsg/
10+
env:
11+
- CGO_ENABLED=1
12+
goos:
13+
- linux
14+
- windows
15+
- darwin
16+
goarch:
17+
- 386
18+
- amd64
19+
- arm
20+
- arm64
21+
goarm:
22+
- 6
23+
- 7
24+
archives:
25+
- replacements:
26+
darwin: Darwin
27+
linux: Linux
28+
windows: Windows
29+
386: i386
30+
amd64: x86_64
31+
format_overrides:
32+
- goos: windows
33+
format: zip
34+
checksum:
35+
name_template: 'checksums.txt'
36+
snapshot:
37+
name_template: '{{ .Tag }}-next'
38+
changelog:
39+
sort: asc
40+
filters:
41+
exclude:
42+
- '^docs:'
43+
- '^test:'

0 commit comments

Comments
 (0)