Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Commit

Permalink
update goreleaser config
Browse files Browse the repository at this point in the history
Signed-off-by: Gregory Hill <[email protected]>
  • Loading branch information
gregdhill committed Jan 27, 2020
1 parent 5ab1874 commit ca1e0f5
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
- go mod tidy
builds:
- main: ./cmd/burrow
env:
- CGO_ENABLED=0
- CGO_ENABLED=0
ldflags:
- -extldflags "-static"
- -s -w
- -X github.com/hyperledger/burrow/project.commit={{.Commit}}
- -X github.com/hyperledger/burrow/project.date={{.Date}}
- -extldflags "-static"
- -s -w
- -X github.com/hyperledger/burrow/project.commit={{.Commit}}
- -X github.com/hyperledger/burrow/project.date={{.Date}}
goos:
- darwin
- linux
- freebsd
- windows
archive:
replacements:
- darwin
- linux
- freebsd
- windows
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
Expand All @@ -28,5 +30,5 @@ changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^docs:'
- '^test:'

0 comments on commit ca1e0f5

Please sign in to comment.