Skip to content

Commit

Permalink
minor tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeliucc authored May 15, 2020
1 parent 9aed33e commit ee16530
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions support/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,17 @@
# GITHUB_PROJECT: default nexiality/nexial-core
# PROJECT_NAME: default nexial-core

if [[ -v ${GITHUB_TOKEN} ]] ; then
if [ -z ${GITHUB_TOKEN} ] ; then
echo ** MISSING REQUIRED ENVIRONMENT VARIABLE
echo ** ${required}
echo ** GITHUB_TOKEN
echo **
echo ** UNABLE TO CONTINUE, EXITING...
exit -1
fi

GITHUB_REPO=${GITHUB_PROJECT:-nexiality/nexial-core}
echo target GitHub repo: ${GITHUB_REPO}

NEXIAL_HOME=${WORKSPACE}
NEXIAL_DIST_HOME=${WORKSPACE}/build/install/${PROJECT_NAME:-nexial-core}
TARGET_VERSION=v`cat ${NEXIAL_HOME}/support/target_version.txt`
Expand Down

0 comments on commit ee16530

Please sign in to comment.