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:34:38 +0300
commit64efc7043dd296b04365cb9628e22f58d16ef55a (patch)
tree735bb01bdd924747736bc4abe6465054ce3450e7 /build
parent38df795876e598553c3027c36f6c67ad30987e98 (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