Change release comparison
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
fc24099693
commit
7644085039
5
run
5
run
@ -5,9 +5,10 @@ PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
|
||||
|
||||
source environment
|
||||
VERSION=$(wget -q -O - $dl_prefix/ | grep -o "$1.[0-9]" | tail -1)
|
||||
if [ $(aptly repo search bashclub python$1 | grep $VERSION) -gt 0 ]; then
|
||||
current=$(aptly repo search bashclub python$1 | grep $VERSION)
|
||||
if [ $? -gt 0 ]; then
|
||||
echo "Building new version of python$1."
|
||||
./builder $VERSION
|
||||
else
|
||||
echo "Current release already present in repo. Skipping build."
|
||||
echo "Current release $VERSION already present in repo. Skipping build."
|
||||
fi
|
Loading…
Reference in New Issue
Block a user