Skip to content

Commit 8f76b70

Browse files
authored
Merge pull request #24 from chermehdi/feature/release-infra
Feature/release infra
2 parents f6b648c + 927f3ac commit 8f76b70

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed

.goreleaser.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
before:
2+
hooks:
3+
# You may remove this if you don't use go modules.
4+
- go mod download
5+
6+
builds:
7+
- env:
8+
- CGO_ENABLED=0
9+
archives:
10+
- replacements:
11+
darwin: Darwin
12+
linux: Linux
13+
windows: Windows
14+
386: i386
15+
amd64: x86_64
16+
checksum:
17+
name_template: 'checksums.txt'
18+
snapshot:
19+
name_template: "{{ .Tag }}-next"
20+
changelog:
21+
sort: asc
22+
filters:
23+
exclude:
24+
- '^docs:'
25+
- '^test:'

.travis.yml

+8
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,11 @@ go:
66
script:
77
- export GO111MODULE=on
88
- go test -v ./...
9+
10+
deploy:
11+
- provider: script
12+
skip_cleanup: true
13+
script: curl -sL https://git.io/goreleaser | bash
14+
on:
15+
tags: true
16+
condition: $TRAVIS_OS_NAME = linux

go.sum

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a h1:idn718Q4
33
github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY=
44
github.com/atotto/clipboard v0.1.2 h1:YZCtFu5Ie8qX2VmVTBnrqLSiU9XOWwqNRmdT3gIQzbY=
55
github.com/atotto/clipboard v0.1.2/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI=
6+
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d h1:U+s90UTSYgptZMwQh2aRr3LuazLJIa+Pg3Kc1ylSYVY=
67
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
78
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
89
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=

0 commit comments

Comments
 (0)