Skip to content

Commit

Permalink
Fix for unset github token
Browse files Browse the repository at this point in the history
  • Loading branch information
mbautin committed Oct 18, 2019
1 parent a52f5aa commit 15a25b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-and-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ while [[ $# -gt 0 ]]; do
shift
done

if [[ ${GITHUB_TOKEN:-} == "(yugabyte.githubToken)" ]]; then
log "GITHUB_TOKEN has its default value (yugabyte.githubToken), un-setting"
if [[ ${GITHUB_TOKEN:-} == *yugabyte.githubToken* ]]; then
log "GITHUB_TOKEN contains the string yugabyte.githubToken, considering it unset."
GITHUB_TOKEN=""
fi
export GITHUB_TOKEN
Expand Down

0 comments on commit 15a25b9

Please sign in to comment.