From 7657af0a55b8b8d84075c831cd0aeab5ad2b0dba Mon Sep 17 00:00:00 2001 From: Aaron Guise Date: Thu, 24 Oct 2024 16:55:02 +1300 Subject: [PATCH] =?UTF-8?q?fix:=20Updated=20build=20script=20=F0=9F=94=A8?= =?UTF-8?q?=F0=9F=92=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/build.sh b/scripts/build.sh index 1f72330..3a21846 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -19,6 +19,7 @@ curl --silent -X 'POST' "${GITEA_HOST}/api/v1/repos/cybercinch/ugly-queue/releas --form attachment="@build/ugly-queue-${1}.tar.gz" # Upload the artifact to composer registry -curl -H "Authorization: token ${GITEA_TOKEN}" \ + +curl --user cibot:${GITEA_TOKEN} \ --upload-file "build/ugly-queue-${1}.tar.gz" \ - "${GITEA_HOST}/api/packages/cybercinch/composer?version=${1}" \ No newline at end of file + "${GITEA_HOST}/api/packages/cybercinch/composer?version=${1}"