Unverified Commit 39dbfc5f authored by Erik Wilson's avatar Erik Wilson Committed by GitHub

Merge pull request #1322 from erikwilson/metadata-dot-test

Check versions for dot in metadata
parents 686768ea 7d9bdaee
......@@ -98,7 +98,9 @@ export -f wait-for-db-connection
# ---
verify-valid-version() {
if docker exec $@ 2>&1 | grep -iE '(dev|head|unknown|fail|refuse)'; then
docker exec $@ 2>&1 | tee .version.tmp
# check for bad strings in the version output, including '.' in the build metadata
if grep -oiE '.*(dev|head|unknown|fail|refuse|\+[^"]*\.).*' .version.tmp; then
return 1
fi
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment