aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2019-05-15 19:36:01 +0200
committerDaniel Kesselberg <mail@danielkesselberg.de>2019-05-15 19:36:01 +0200
commit3e9f9ea06b8abb904412acec01b98d2c00f219cd (patch)
treee413198dafde57738fccaee4cb11ce496837bfc8 /build
parentf08aed74d78cc2ec50dc74154c2862d054791882 (diff)
downloadnextcloud-server-3e9f9ea06b8abb904412acec01b98d2c00f219cd.tar.gz
nextcloud-server-3e9f9ea06b8abb904412acec01b98d2c00f219cd.zip
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