File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 36
36
- run :
37
37
working_directory : cmd/ssl-game-controller
38
38
command : |
39
- go get -v github.com/gobuffalo/packr
39
+ go get -v github.com/gobuffalo/packr/...
40
40
GOOS=linux GOARCH=amd64 packr build -o ../../release/linux/ssl-game-controller
41
41
GOOS=windows GOARCH=amd64 packr build -o ../../release/windows/ssl-game-controller.exe
42
42
GOOS=darwin GOARCH=amd64 packr build -o ../../release/darwin/ssl-game-controller
@@ -47,12 +47,10 @@ jobs:
47
47
48
48
working_directory : /go/src/github.com/g3force/ssl-game-controller
49
49
steps :
50
- - checkout
51
50
- attach_workspace :
52
51
at : ./release
53
52
- run : ll release && tree release
54
53
55
-
56
54
publish-github-release :
57
55
docker :
58
56
- image : circleci/golang:1.8
63
61
name : " Publish Release on GitHub"
64
62
command : |
65
63
go get github.com/tcnksm/ghr
66
- VERSION=$(my-binary --version)
67
- ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./artifacts /
64
+ VERSION=latest
65
+ ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./release /
68
66
69
67
workflows :
70
68
version : 2
@@ -75,5 +73,8 @@ workflows:
75
73
requires :
76
74
- frontend
77
75
- deploy :
76
+ requires :
77
+ - backend
78
+ - publish-github-release :
78
79
requires :
79
80
- backend
You can’t perform that action at this time.
0 commit comments