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-05-15 20:45:58 +0300
committerBackportbot <backportbot-noreply@rullzer.com>2019-05-15 23:34:38 +0300
commitcb3ca1648e94e408eed7a1eaecd10c70a03ba08e (patch)
tree785e7d690a1dbc09cd0c4489b027e1a05aec9afa /build
parent64efc7043dd296b04365cb9628e22f58d16ef55a (diff)
Use DRONE_SOURCE_BRANCH instead of DRONE_COMMIT_REFSPEC
Looks like DRONE_COMMIT_REFSPEC is not available anymore on Drone 1.x Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'build')
-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