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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user