From 004cf5f674343d7aecf955ed74fea5941b459d8c Mon Sep 17 00:00:00 2001 From: Maschell Date: Fri, 24 Mar 2017 13:37:08 +0100 Subject: [PATCH] Fixing the name of the nightly releases --- circle.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index e0cae61..18a7ab4 100644 --- a/circle.yml +++ b/circle.yml @@ -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/