Skip to content

Commit c1f8a54

Browse files
committed
MNT: doc/build.sh: Fix crash when run locally
1 parent d332aa2 commit c1f8a54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
set -eu
3-
IS_RELEASE="$([[ "$GITHUB_REF" == refs/tags/* ]] && echo 1 || true)"
3+
IS_RELEASE="$([[ "${GITHUB_REF:-}" == refs/tags/* ]] && echo 1 || true)"
44

55
die () { echo "ERROR: $*" >&2; exit 2; }
66

0 commit comments

Comments
 (0)