Skip to content

Commit 35f198d

Browse files
committed
Add circle.yml
1 parent e8871d1 commit 35f198d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

circle.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
dependencies:
2+
pre:
3+
- go get -u github.com/golang/dep/...
4+
test:
5+
pre:
6+
deployment:
7+
release:
8+
tag: /v[0-9]+(\.[0-9]+)*/
9+
commands:
10+
- go get github.com/mitchellh/gox
11+
- go get github.com/tcnksm/ghr
12+
- gox --osarch "linux/amd64 darwin/amd64" --output "dist/{{.Dir}}_{{.OS}}_{{.Arch}}"
13+
- ghr -t $GITHUB_TOKEN -u $GITHUB_USERNAME -r $CIRCLE_PROJECT_REPONAME -replace $CIRCLE_TAG dist/

0 commit comments

Comments
 (0)