1
0
mirror of https://github.com/zokradonh/kopano-docker.git synced 2026-08-11 16:32:59 +00:00

Fix version detection in version.sh and add testing for it (#225)

* fix version syntax
* commander: verify output of version.sh
* commander: exit setup.sh with code 1 when .env exists
* add commander to travis
* minimal test for commander in core container
This commit is contained in:
Felix Bartels
2019-08-30 18:22:36 +02:00
committed by GitHub
parent 237b09b449
commit de66536525
6 changed files with 46 additions and 1 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ set -eu
function urldecode { : "${*//+/ }"; echo -e "${_//%/\\x}"; }
function version_from_filename {
echo "$1" | sed -r 's#[a-z]+-([0-9_.+]+)-.*#\1#'
echo "$1" | awk -F"-" '{print $2}'
}
function h5ai_query {