summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild/ca-bundle-checker.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/build/ca-bundle-checker.sh b/build/ca-bundle-checker.sh
index 4497642fd95..4d11abc2c74 100755
--- a/build/ca-bundle-checker.sh
+++ b/build/ca-bundle-checker.sh
@@ -1,8 +1,6 @@
#!/usr/bin/env bash
-printenv
-
-if [[ -n ${DRONE_COMMIT_REFSPEC} && ! ${DRONE_COMMIT_REFSPEC} =~ version(\/noid)?\/([0-9.]+) ]]; then
+if [[ -n ${DRONE_SOURCE_BRANCH} && ! ${DRONE_SOURCE_BRANCH} =~ version(\/noid)?\/([0-9.]+) ]]; then
echo "Skip CA bundle check"
exit 0
fi