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:36:01 +0300
committerBackportbot <backportbot-noreply@rullzer.com>2019-05-15 23:33:55 +0300
commitc7d3556b72aed69595217be18cee39a45d9afd31 (patch)
tree02837433cc5148735fe47ecd87a0c0bd21ee1fa8 /build
parentfcd5fc667ec882f8a5141e50b38c515e29a96b47 (diff)
Update regex to also match version/x.y.z
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'build')
-rwxr-xr-xbuild/ca-bundle-checker.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/build/ca-bundle-checker.sh b/build/ca-bundle-checker.sh
index 8c8528c2343..4497642fd95 100755
--- a/build/ca-bundle-checker.sh
+++ b/build/ca-bundle-checker.sh
@@ -1,7 +1,8 @@
#!/usr/bin/env bash
-echo
-if [[ -n ${DRONE_COMMIT_REFSPEC} && ! ${DRONE_COMMIT_REFSPEC} =~ version\/noid\/.+ ]]; then
+printenv
+
+if [[ -n ${DRONE_COMMIT_REFSPEC} && ! ${DRONE_COMMIT_REFSPEC} =~ version(\/noid)?\/([0-9.]+) ]]; then
echo "Skip CA bundle check"
exit 0
fi