Updated build script

This commit is contained in:
Alex Rennie-Lis
2026-06-16 23:30:01 +01:00
parent bb855c1660
commit 4c7a08f8d9

View File

@@ -15,3 +15,9 @@ cp -r etc ${name}_${version}_all/;
cp -r usr ${name}_${version}_all/;
dpkg-deb --build --root-owner-group ${name}_${version}_all
if [ $? -eq 0 ]; then
curl -X POST "https://git.unblue.uk/api/v1/repos/Unblue/${name}/releases/v${version}/assets" \
-H "Authorization: token ${GIT_TOKEN}" \
-H "Content-Type: multipart/form-data" \
-F "attachment=@${name}_${version}_all.deb"