Changed version handling
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
thorsten.spille 2022-06-11 18:47:24 +02:00
parent 1aa504ac13
commit a0cf21c2de

7
run
View File

@ -4,8 +4,5 @@ set -euo pipefail
PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
source environment source environment
source version VERSION=$(wget -q -O - $dl_prefix/ | grep -o "$1.[0-9]" | tail -1)
for ver in ${versions[@]}; do ./builder $VERSION
VERSION=$(wget -q -O - $dl_prefix/ | grep -o "$ver.[0-9]" | tail -1)
./builder $VERSION
done