Fixing the name of the nightly releases

This commit is contained in:
Maschell 2017-03-24 13:37:08 +01:00 committed by GitHub
parent a65fbe6f9a
commit 004cf5f674

View File

@ -15,4 +15,6 @@ deployment:
branch: master
commands:
- go get github.com/tcnksm/ghr
- ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME -prerelease -b 'Nightly release. Use caution! We recommend downloading a stable release from the README.' `git describe --tags --always` ci/
- export commit="$(git rev-parse --short=7 HEAD)"
- export GIT_TAG=HIDtoVPADNetworkClient-nightly-$commit
- ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME -prerelease -b 'Nightly release. Use caution! We recommend downloading a stable release from the README.' $GIT_TAG ci/