ci/cd - remove old linux packages before building

This commit is contained in:
florian 2022-08-24 19:31:37 +02:00
parent 4244399eb1
commit 469a5343ec
No known key found for this signature in database
GPG key ID: 3D80806F12602A7C

View file

@ -47,6 +47,9 @@ if [ -d /tmp/packages ] ; then
fi
do_and_check_cmd mkdir /tmp/packages
# Remove old packages
find /opt/packages/ -type f | xargs rm
# Generate packages
echo "Building ubuntu package ..."
gen_package "$1" "ubuntu"