Browse Source

DRONE_BRANCH is the target branch. DRONE_COMMIT_REFSPEC should work.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
pull/14373/head
Daniel Kesselberg 7 years ago
parent
commit
75337ff621
No known key found for this signature in database GPG Key ID: 36E3664E099D0614
  1. 2
      build/ca-bundle-checker.sh

2
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

Loading…
Cancel
Save