releasing

This commit is contained in:
Liam Galvin 2018-11-24 20:22:15 +00:00
parent d8abc4b1d3
commit 67d56e497e
1 changed files with 2 additions and 2 deletions

View File

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