summaryrefslogtreecommitdiffstats
path: root/build/ca-bundle-checker.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build/ca-bundle-checker.sh')
-rwxr-xr-xbuild/ca-bundle-checker.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/ca-bundle-checker.sh b/build/ca-bundle-checker.sh
index a23d6257d58..8c8528c2343 100755
--- a/build/ca-bundle-checker.sh
+++ b/build/ca-bundle-checker.sh
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
echo
-if [[ -n ${DRONE_BRANCH} && ! ${DRONE_BRANCH} =~ version\/noid\/.+ ]]; then
+if [[ -n ${DRONE_COMMIT_REFSPEC} && ! ${DRONE_COMMIT_REFSPEC} =~ version\/noid\/.+ ]]; then
echo "Skip CA bundle check"
exit 0
fi