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
steps:
- attach_workspace:
at: ./workspace
at: /workspace
- run:
name: "Publish Release on GitHub"
command: |
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:
version: 2
build: