Skip to content

Commit

Permalink
Add goreleaser support (#15)
Browse files Browse the repository at this point in the history
* Init goreleaser

* Remove unnecessary instructions

* Add build info

* Remove build id due to CI conflict
  • Loading branch information
waymobetta authored Aug 16, 2021
1 parent 5b41413 commit 1f8677a
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@ centrifuge-chain/
/cfgBuilder/*.toml
/lvldbdata
/client_configs
chainbridge-core-example
chainbridge-core-example
dist/
28 changes: 28 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# documentation at http://goreleaser.com
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'

0 comments on commit 1f8677a

Please sign in to comment.