Skip to content

Commit 620f19b

Browse files
committed
Add goreleaser.
1 parent ccbf8b5 commit 620f19b

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
crypto-candles
2+
cryptocandles
23
dist/

.goreleaser.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
project_name: cryptocandles
2+
release:
3+
github:
4+
owner: marianogappa
5+
name: cryptocandles
6+
brew:
7+
install: bin.install "cryptocandles"
8+
builds:
9+
- goos:
10+
- linux
11+
- darwin
12+
goarch:
13+
- amd64
14+
- "386"
15+
goarm:
16+
- "6"
17+
main: .
18+
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
19+
binary: cryptocandles
20+
archive:
21+
format: tar.gz
22+
name_template: '{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{
23+
.Arm }}{{ end }}'
24+
files:
25+
- licence*
26+
- LICENCE*
27+
- license*
28+
- LICENSE*
29+
- readme*
30+
- README*
31+
- changelog*
32+
- CHANGELOG*
33+
snapshot:
34+
name_template: SNAPSHOT-{{ .Commit }}

0 commit comments

Comments
 (0)