Add package check
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
thorsten.spille 2022-06-12 11:35:31 +02:00
parent e2b9f1ad6d
commit fc24099693

7
run
View File

@ -5,4 +5,9 @@ PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
source environment source environment
VERSION=$(wget -q -O - $dl_prefix/ | grep -o "$1.[0-9]" | tail -1) VERSION=$(wget -q -O - $dl_prefix/ | grep -o "$1.[0-9]" | tail -1)
./builder $VERSION if [ $(aptly repo search bashclub python$1 | grep $VERSION) -gt 0 ]; then
echo "Building new version of python$1."
./builder $VERSION
else
echo "Current release already present in repo. Skipping build."
fi