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
+5 -8
View File
@@ -215,14 +215,11 @@ if [ "${FORGE}" = "gitea" ]; then
--note "${RELEASE_BODY}"
# Upload assets
for f in "${RELEASE_FILES[@]}"; do
echo " Uploading $(basename "${f}")..."
tea release asset create \
--repo "${REPO_OWNER_NAME}" \
--tag "${TAG}" \
--name "$(basename "${f}")" \
--file "${f}"
done
echo " Uploading assets..."
tea release asset create \
--repo "${REPO_OWNER_NAME}" \
"${TAG}" \
"${RELEASE_FILES[@]}"
elif [ "${FORGE}" = "github" ]; then
echo "Publishing to GitHub via gh..."