summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2019-03-05 15:20:47 +0100
committerDaniel Kesselberg <mail@danielkesselberg.de>2019-03-05 15:20:47 +0100
commit75337ff621e2ca70ba61b1935ff35957de843ca8 (patch)
treec5a26aec3a0a64a68a8ae98b14a8b0d6d9ae0ac4
parent2bbef581530167c1011a40cb3285141e012ae7be (diff)
downloadnextcloud-server-75337ff621e2ca70ba61b1935ff35957de843ca8.tar.gz
nextcloud-server-75337ff621e2ca70ba61b1935ff35957de843ca8.zip
DRONE_BRANCH is the target branch. DRONE_COMMIT_REFSPEC should work.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
-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