Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-09-24 16:47:40 -04:00
parent ea2cae1233
commit 31f28f832f
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

View File

@ -2,7 +2,9 @@
set -e
set -o pipefail
GITHUB_TOKEN=${GITHUB_TOKEN:-$TOKEN}
if [[ ! -z "$TOKEN" ]]; then
GITHUB_TOKEN=$TOKEN
fi
if [[ -z "$GITHUB_TOKEN" ]]; then
echo "Set the GITHUB_TOKEN env variable."