File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 3737 working_directory : cmd/ssl-game-controller
3838 command : |
3939 go get -v github.com/gobuffalo/packr/packr
40- GOOS=linux GOARCH=amd64 packr build -o ../../release/linux/ ssl-game-controller
41- GOOS=windows GOARCH=amd64 packr build -o ../../release/windows/ ssl-game-controller.exe
42- GOOS=darwin GOARCH=amd64 packr build -o ../../release/darwin/ ssl-game-controller
40+ GOOS=linux GOARCH=amd64 packr build -o ../../release/ssl-game-controller_linux_amd64
41+ GOOS=darwin GOARCH=amd64 packr build -o ../../release/ssl-game-controller_darwin_amd64
42+ GOOS=windows GOARCH=amd64 packr build -o ../../release/ssl-game-controller_windows_amd64.exe
4343 - persist_to_workspace :
4444 root : .
4545 paths :
@@ -51,12 +51,18 @@ jobs:
5151 steps :
5252 - attach_workspace :
5353 at : .
54+ - run :
55+ name : " Prepare artifacts"
56+ working_directory : release
57+ command : |
58+ mv ssl-game-controller_linux_amd64 ssl-game-controller_${CIRCLE_TAG}_linux_amd64
59+ mv ssl-game-controller_dargin_amd64 ssl-game-controller_${CIRCLE_TAG}_darwin_amd64
60+ mv ssl-game-controller_windows_amd64.exe ssl-game-controller_${CIRCLE_TAG}_windows_amd64.exe
5461 - run :
5562 name : " Publish Release on GitHub"
5663 command : |
5764 go get github.com/tcnksm/ghr
58- VERSION=latest
59- ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./release/
65+ ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${CIRCLE_TAG} ./release/
6066
6167workflows :
6268 version : 2
You can’t perform that action at this time.
0 commit comments