Skip to content

Commit

Permalink
Add goreleaser config (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
christophetd committed Jan 18, 2022
1 parent 247f753 commit ad51380
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
ldflags:
- -X main.BuildVersion={{.Version}}

dir: .
main: cmd/stratus/main.go
binary: stratus

archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'

0 comments on commit ad51380

Please sign in to comment.