releasing

This commit is contained in:
Liam Galvin 2018-11-24 20:17:40 +00:00
parent 18535a9593
commit d8abc4b1d3
1 changed files with 4 additions and 2 deletions

View File

@ -47,8 +47,10 @@ jobs:
command: |
go get github.com/tcnksm/ghr
mkdir -p release
cp artifacts/bin/linux/* release/
cp artifacts/bin/darwin/* release/
ls -la artifacts
ls -la artifacts/bin || (echo "linux" && ls -la artifacts/linux)
cp artifacts/linux/* release/
cp artifacts/darwin/* release/
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${CIRCLE_TAG} release/
workflows:
version: 2