From 6bca42f2a58583b90d857db44654b2150c9afac1 Mon Sep 17 00:00:00 2001 From: Kieron Morris Date: Sun, 9 Mar 2025 22:18:19 +0000 Subject: [PATCH] Final Test before finalizing - Single quotes were causing the first CURL to fail. - This should be the penultimate commit before ready to progress through dev to master. --- .drone.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 2cba37e6..a5c5811f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -42,13 +42,11 @@ steps: - echo "Uploading Asuro-$(git rev-parse --short HEAD).iso to Gitea Packages..." - | curl -X PUT "https://gitea.spexeah.com/api/packages/Spexeah/generic/asuro-iso/$(git rev-parse --short HEAD)/Asuro.iso" \ - -H 'Authorization: token $GITEA_TOKEN' \ - --upload-file "Asuro-$(git rev-parse --short HEAD).iso" + -H "Authorization: token $GITEA_TOKEN" --upload-file "Asuro-$(git rev-parse --short HEAD).iso" - echo "Updating latest ISO reference..." - | - curl -X DELETE https://gitea.spexeah.com/api/packages/Spexeah/generic/asuro-iso/latest/Asuro.iso + curl -X DELETE https://gitea.spexeah.com/api/packages/Spexeah/generic/asuro-iso/latest/Asuro.iso \ -H "Authorization: token $GITEA_TOKEN" || echo "No previous latest version found." - | curl -X PUT https://gitea.spexeah.com/api/packages/Spexeah/generic/asuro-iso/latest/Asuro.iso \ - -H "Authorization: token $GITEA_TOKEN" \ - --upload-file "Asuro-$(git rev-parse --short HEAD).iso" \ No newline at end of file + -H "Authorization: token $GITEA_TOKEN" --upload-file "Asuro-$(git rev-parse --short HEAD).iso" \ No newline at end of file