Fix tea CLI asset upload syntax in release script

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-10 22:07:43 +01:00
parent b637432dce
commit 3865183a3f
+3 -6
View File
@@ -215,14 +215,11 @@ if [ "${FORGE}" = "gitea" ]; then
--note "${RELEASE_BODY}" --note "${RELEASE_BODY}"
# Upload assets # Upload assets
for f in "${RELEASE_FILES[@]}"; do echo " Uploading assets..."
echo " Uploading $(basename "${f}")..."
tea release asset create \ tea release asset create \
--repo "${REPO_OWNER_NAME}" \ --repo "${REPO_OWNER_NAME}" \
--tag "${TAG}" \ "${TAG}" \
--name "$(basename "${f}")" \ "${RELEASE_FILES[@]}"
--file "${f}"
done
elif [ "${FORGE}" = "github" ]; then elif [ "${FORGE}" = "github" ]; then
echo "Publishing to GitHub via gh..." echo "Publishing to GitHub via gh..."