Parameterize deb file name with version

This commit is contained in:
Alexander Bejarano 2026-02-24 20:33:12 +01:00 committed by GitHub
parent 74155df390
commit 1f642a50de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,8 @@
echo "wireguird: cleaning..."
deb_file="./build/wireguird_amd64.deb"
VERSION="1.1.0"
deb_file="./build/wireguird_${VERSION}_amd64.deb"
if [ -e "$deb_file" ]; then
rm -r "$deb_file"
fi