Skip to content

Commit

Permalink
Add ssl-vision-cli to pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
g3force committed Feb 5, 2021
1 parent 7f6e27f commit 6f6bf08
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ jobs:
GOOS=linux GOARCH=amd64 packr build -o ../../release/ssl-vision-client_linux_amd64
GOOS=darwin GOARCH=amd64 packr build -o ../../release/ssl-vision-client_darwin_amd64
GOOS=windows GOARCH=amd64 packr build -o ../../release/ssl-vision-client_windows_amd64.exe
- run:
working_directory: cmd/ssl-vision-cli
command: |
GOOS=linux GOARCH=amd64 go build -o ../../release/ssl-vision-cli_linux_amd64
GOOS=darwin GOARCH=amd64 go build -o ../../release/ssl-vision-cli_darwin_amd64
GOOS=windows GOARCH=amd64 go build -o ../../release/ssl-vision-cli_windows_amd64.exe
- persist_to_workspace:
root: .
paths:
Expand All @@ -52,6 +58,9 @@ jobs:
mv ssl-vision-client_linux_amd64 ssl-vision-client_${CIRCLE_TAG}_linux_amd64
mv ssl-vision-client_darwin_amd64 ssl-vision-client_${CIRCLE_TAG}_darwin_amd64
mv ssl-vision-client_windows_amd64.exe ssl-vision-client_${CIRCLE_TAG}_windows_amd64.exe
mv ssl-vision-cli_linux_amd64 ssl-vision-cli_${CIRCLE_TAG}_linux_amd64
mv ssl-vision-cli_darwin_amd64 ssl-vision-cli_${CIRCLE_TAG}_darwin_amd64
mv ssl-vision-cli_windows_amd64.exe ssl-vision-cli_${CIRCLE_TAG}_windows_amd64.exe
- run:
name: "Publish Release on GitHub"
command: |
Expand Down

0 comments on commit 6f6bf08

Please sign in to comment.