File tree 1 file changed +0
-22
lines changed
1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -20,32 +20,10 @@ jobs:
20
20
- run : sudo install etcd-v3.1.7-linux-amd64/etcd /usr/bin
21
21
- run : go get github.com/mattn/goveralls
22
22
- run : make test
23
- deploy :
24
- docker :
25
- - image : circleci/golang:1.9
26
- working_directory : /go/src/github.com/cloudwan/gohan
27
- steps :
28
- - checkout
29
- - run :
30
- name : Upload package to Github
31
- command : |
32
- go get github.com/karalabe/xgo
33
- ./tools/crosscompile.sh
34
- sudo apt-get install -y zip
35
- curl -L https://github.com/tcnksm/ghr/releases/download/v0.5.0/ghr_v0.5.0_linux_amd64.zip -o ghr_v0.5.0_linux_amd64.zip
36
- unzip ghr_v0.5.0_linux_amd64.zip
37
- chmod 0755 ghr
38
- ./ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME -replace pre-release dist/
39
23
40
24
workflows :
41
25
version : 2
42
26
build_test_deploy :
43
27
jobs :
44
28
- build
45
29
- test
46
- - deploy :
47
- requires :
48
- - test
49
- filters :
50
- branches :
51
- only : master
You can’t perform that action at this time.
0 commit comments