releasing

This commit is contained in:
Liam Galvin 2018-11-24 19:49:10 +00:00
parent ea24c1720d
commit e536265698
1 changed files with 2 additions and 2 deletions

View File

@ -40,12 +40,12 @@ jobs:
- image: circleci/golang:latest - image: circleci/golang:latest
steps: steps:
- attach_workspace: - attach_workspace:
at: ./workspace at: /workspace
- run: - run:
name: "Publish Release on GitHub" name: "Publish Release on GitHub"
command: | command: |
go get github.com/tcnksm/ghr go get github.com/tcnksm/ghr
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${CIRCLE_TAG} ./workspace/bin/ ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${CIRCLE_TAG} /workspace/bin/
workflows: workflows:
version: 2 version: 2
build: build: