mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-07 16:06:14 +00:00
new build arg requires version.sh
Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
parent
8902cc95c7
commit
388a651480
16
version.sh
Executable file
16
version.sh
Executable file
@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
if ! hash jq; then
|
||||||
|
echo "Please install jq in order to run this build script."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
source base/create-kopano-repo.sh
|
||||||
|
|
||||||
|
component=${1:-core}
|
||||||
|
|
||||||
|
# query community server by h5ai API
|
||||||
|
filename=$(h5ai_query "$component")
|
||||||
|
|
||||||
|
currentVersion=$(version_from_filename "$filename")
|
||||||
|
|
||||||
|
echo $currentVersion
|
Loading…
x
Reference in New Issue
Block a user