From b0001accd56c82e2307ad34c4f8054ca63ea9dcf Mon Sep 17 00:00:00 2001 From: Alex Rennie-Lis Date: Tue, 16 Jun 2026 23:34:04 +0100 Subject: [PATCH] Debugging --- build.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.sh b/build.sh index 1e26e23..89a73c9 100644 --- a/build.sh +++ b/build.sh @@ -20,6 +20,11 @@ if [ $? -eq 0 ]; then RELEASE_ID=$(curl -s -H "Authorization: token REDACTED" \ "https://git.unblue.uk/api/v1/repos/Unblue/${name}/releases/tags/v${version}" | jq '.id') + echo curl -X POST "https://git.unblue.uk/api/v1/repos/Unblue/${name}/releases/${RELEASE_ID}/assets" \ + -H "Authorization: token ${GIT_TOKEN}" \ + -H "Content-Type: multipart/form-data" \ + -F "attachment=@${name}_${version}_all.deb" + curl -X POST "https://git.unblue.uk/api/v1/repos/Unblue/${name}/releases/${RELEASE_ID}/assets" \ -H "Authorization: token ${GIT_TOKEN}" \ -H "Content-Type: multipart/form-data" \