Skip to content

Commit 1f8677a

Browse files
author
Jon Roethke
authored
Add goreleaser support (#15)
* Init goreleaser * Remove unnecessary instructions * Add build info * Remove build id due to CI conflict
1 parent 5b41413 commit 1f8677a

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,5 @@ centrifuge-chain/
4141
/cfgBuilder/*.toml
4242
/lvldbdata
4343
/client_configs
44-
chainbridge-core-example
44+
chainbridge-core-example
45+
dist/

.goreleaser.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# documentation at http://goreleaser.com
2+
before:
3+
hooks:
4+
- go mod tidy
5+
builds:
6+
- env:
7+
- CGO_ENABLED=0
8+
goos:
9+
- linux
10+
- windows
11+
- darwin
12+
archives:
13+
- replacements:
14+
darwin: Darwin
15+
linux: Linux
16+
windows: Windows
17+
386: i386
18+
amd64: x86_64
19+
checksum:
20+
name_template: 'checksums.txt'
21+
snapshot:
22+
name_template: "{{ incpatch .Tag }}-next"
23+
changelog:
24+
sort: asc
25+
filters:
26+
exclude:
27+
- '^docs:'
28+
- '^test:'

0 commit comments

Comments
 (0)