Skip to content

Commit 466f79d

Browse files
jsjoeiocode-asher
andauthored
refactor: update GITHUB token check in prep:release
Co-authored-by: Asher <ash@coder.com>
1 parent 191cbe3 commit 466f79d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/build/release-prep.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ main() {
2525
cd "$(dirname "$0")/../.."
2626

2727
# Check that $GITHUB_TOKEN is set
28-
if [[ -z "${GITHUB_TOKEN}" ]]; then
28+
if [[ -z ${GITHUB_TOKEN-} ]]; then
2929
echo "We couldn't find an environment variable under GITHUB_TOKEN."
3030
echo "This is needed for our scripts that use hub."
3131
echo -e "See docs regarding GITHUB_TOKEN here under 'GitHub OAuth authentication': https://hub.github.com/hub.1.html"

0 commit comments

Comments
 (0)