Skip to content

Commit

Permalink
Update config.yml
Browse files Browse the repository at this point in the history
Changed Repository name
  • Loading branch information
maxiwoj authored Nov 6, 2018
1 parent 345c23b commit f88cecd
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ jobs:
build:
docker:
- image: circleci/golang:1.9
working_directory: /go/src/github.com/Appliscale/tyr
working_directory: /go/src/github.com/Appliscale/cloud-security-audit
steps:
- checkout
- run: make get-deps
Expand All @@ -13,30 +13,30 @@ jobs:
release:
docker:
- image: circleci/golang:1.9
working_directory: /go/src/github.com/Appliscale/tyr
working_directory: /go/src/github.com/Appliscale/cloud-security-audit
steps:
- checkout
- run: make
- run: mkdir -p release
- run:
name: "Build Tyr for Linux"
name: "Build Cloud Security Audit for Linux"
command: |
GOOS=linux GOARCH=amd64 go build -o release/tyr-linux-amd64
tar -C release -czf release/tyr-linux-amd64.tar.gz tyr-linux-amd64
GOOS=linux GOARCH=amd64 go build -o release/cloud-security-audit-linux-amd64
tar -C release -czf release/cloud-security-audit-linux-amd64.tar.gz cloud-security-audit-linux-amd64
- run:
name: "Build Tyr for Darwin"
name: "Build Cloud Security Audit for Darwin"
command: |
GOOS=darwin GOARCH=amd64 go build -o release/tyr-darwin-amd64
tar -C release -czf release/tyr-darwin-amd64.tar.gz tyr-darwin-amd64
GOOS=darwin GOARCH=amd64 go build -o release/cloud-security-audit-darwin-amd64
tar -C release -czf release/cloud-security-audit-darwin-amd64.tar.gz cloud-security-audit-darwin-amd64
- run:
name: "Get gothub"
command: |
go get github.com/itchio/gothub
- run:
name: "Publish release on github"
command: |
gothub upload --user ${CIRCLE_PROJECT_USERNAME} --repo ${CIRCLE_PROJECT_REPONAME} --tag ${CIRCLE_TAG} --name "tyr-darwin-amd64" --file release/tyr-darwin-amd64.tar.gz
gothub upload --user ${CIRCLE_PROJECT_USERNAME} --repo ${CIRCLE_PROJECT_REPONAME} --tag ${CIRCLE_TAG} --name "tyr-linux-amd64" --file release/tyr-linux-amd64.tar.gz
gothub upload --user ${CIRCLE_PROJECT_USERNAME} --repo ${CIRCLE_PROJECT_REPONAME} --tag ${CIRCLE_TAG} --name "cloud-security-audit-darwin-amd64" --file release/cloud-security-audit-darwin-amd64.tar.gz
gothub upload --user ${CIRCLE_PROJECT_USERNAME} --repo ${CIRCLE_PROJECT_REPONAME} --tag ${CIRCLE_TAG} --name "cloud-security-audit-linux-amd64" --file release/cloud-security-audit-linux-amd64.tar.gz
workflows:
Expand Down

0 comments on commit f88cecd

Please sign in to comment.