Fix up the oopsies

This commit is contained in:
2025-03-25 17:27:15 +01:00
parent 1a90046c89
commit bdcf096fdd

View File

@@ -41,9 +41,8 @@ RELEASE_ID=$(echo $RELEASE_RESPONSE | awk -F'"id":' '{print $2+0; exit}')
echo "Release ID: $RELEASE_ID" echo "Release ID: $RELEASE_ID"
echo "Uploading the things..." echo "Uploading the things..."
WINRELEASE="./build/windows/x64/runner/Release/"
curl -X POST \ curl -X POST \
-H "Authorization: token $TOKEN" \ -H "Authorization: token $TOKEN" \
-F "attachment=@$WINRELEASE/BigChef.exe" \ -F "attachment=@BigChef.exe" \
"$GITEA/api/v1/repos/$REPO/releases/${RELEASE_ID}/assets?name=BigChef.exe" "$GITEA/api/v1/repos/$REPO/releases/${RELEASE_ID}/assets?name=BigChef.exe"
rm $WINRELEASE/BigChef.exe rm BigChef.exe