Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
shreddedbacon committed Nov 8, 2019
1 parent 2012bec commit 2c0e656
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,13 @@ jobs:
- run:
name: compile
command: |
make VERSION=${CIRCLE_BRANCH} build-linux
make VERSION=${CIRCLE_BRANCH} build-darwin
make VERSION=${CIRCLE_TAG} build-linux
make VERSION=${CIRCLE_TAG} build-darwin
- run:
name: "Publish Release on GitHub"
command: |
GO111MODULE=auto go get github.com/tcnksm/ghr
VERSION=${CIRCLE_TAG}
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./builds/lagoon-cli-*
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${CIRCLE_TAG} ./builds/lagoon-cli-*
workflows:
version: 2
build-deploy:
Expand Down

0 comments on commit 2c0e656

Please sign in to comment.