Skip to content

Commit

Permalink
add goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
swhite24 committed Apr 16, 2021
1 parent b4c9e9b commit b9956a9
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
before:
hooks:
- go mod download
builds:
- dir: cmd/cbpro-buy
binary: "{{ .ProjectName }}_{{ .Tag }}"
flags:
- -trimpath
env:
- CGO_ENABLED=0
goarch:
- "386"
- amd64
- arm
- arm64
goos:
- linux
- windows
- darwin
ignore:
- goarch: "386"
goos: darwin
mod_timestamp: "{{ .CommitTimestamp }}"
checksum:
name_template: "{{ .ProjectName }}_{{ .Tag }}_SHA256SUMS"
algorithm: sha256
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"

0 comments on commit b9956a9

Please sign in to comment.