diff options
-rwxr-xr-x | build/ca-bundle-checker.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/build/ca-bundle-checker.sh b/build/ca-bundle-checker.sh index 8c8528c2343..6af762e2e37 100755 --- a/build/ca-bundle-checker.sh +++ b/build/ca-bundle-checker.sh @@ -1,7 +1,6 @@ #!/usr/bin/env bash -echo -if [[ -n ${DRONE_COMMIT_REFSPEC} && ! ${DRONE_COMMIT_REFSPEC} =~ version\/noid\/.+ ]]; then +if [[ -n ${DRONE_SOURCE_BRANCH} && ! ${DRONE_SOURCE_BRANCH} =~ version(\/noid)?\/([0-9.]+) ]]; then echo "Skip CA bundle check" exit 0 fi |