diff options
| -rwxr-xr-x | build/jenkins-build.sh | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/build/jenkins-build.sh b/build/jenkins-build.sh index 03de4e6..b8b2aef 100755 --- a/build/jenkins-build.sh +++ b/build/jenkins-build.sh @@ -47,7 +47,7 @@ echo files created: $REG_FILES  # upload to anaconda only if token is defined  # and TODO pull request not to upload  -GIT_BRANCH=`git rev-parse --abbrev-ref HEAD` +GIT_BRANCH=`git symbolic-ref --short HEAD`  echo on branch ${GIT_BRANCH}  if [[ -n ${CCPI_CONDA_TOKEN} ]]; then | 
