File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,16 +2,23 @@ version: 2
22jobs :
33 build :
44 docker :
5- - image : circleci/golang:1.9
5+ - image : circleci/golang:1.10
66 working_directory : /go/src/github.com/kentaro-m/md2confl
77 steps :
88 - checkout
99 - run :
1010 name : Install dependencies
1111 command : go get -v -t -d ./...
12+ - run :
13+ name : Run linters
14+ command : |
15+ go get github.com/golang/lint/golint
16+ golint ./...
17+ go vet ./...
18+
1219 deploy :
1320 docker :
14- - image : circleci/golang:1.9
21+ - image : circleci/golang:1.10
1522 working_directory : /go/src/github.com/kentaro-m/md2confl
1623 steps :
1724 - checkout
2330 go get github.com/mitchellh/gox
2431 go get github.com/tcnksm/ghr
2532 gox -output "pkg/{{.OS}}_{{.Arch}}_{{.Dir}}"
26- ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --replace `git describe --tags` pkg/
33+ ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --replace `git describe --abbrev=0 -- tags` pkg/
2734
2835workflows :
2936 version : 2
You can’t perform that action at this time.
0 commit comments