Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2019-03-05 17:20:47 +0300
committerDaniel Kesselberg <mail@danielkesselberg.de>2019-03-05 17:20:47 +0300
commit75337ff621e2ca70ba61b1935ff35957de843ca8 (patch)
treec5a26aec3a0a64a68a8ae98b14a8b0d6d9ae0ac4 /build
parent2bbef581530167c1011a40cb3285141e012ae7be (diff)
DRONE_BRANCH is the target branch. DRONE_COMMIT_REFSPEC should work.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'build')
-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