diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-05-15 20:36:01 +0300 |
---|---|---|
committer | Backportbot <backportbot-noreply@rullzer.com> | 2019-05-15 23:33:55 +0300 |
commit | c7d3556b72aed69595217be18cee39a45d9afd31 (patch) | |
tree | 02837433cc5148735fe47ecd87a0c0bd21ee1fa8 /build | |
parent | fcd5fc667ec882f8a5141e50b38c515e29a96b47 (diff) |
Update regex to also match version/x.y.z
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'build')
-rwxr-xr-x | build/ca-bundle-checker.sh | 5 |
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 |