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:
+5
-8
@@ -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}" \
|
"${RELEASE_FILES[@]}"
|
||||||
--name "$(basename "${f}")" \
|
|
||||||
--file "${f}"
|
|
||||||
done
|
|
||||||
|
|
||||||
elif [ "${FORGE}" = "github" ]; then
|
elif [ "${FORGE}" = "github" ]; then
|
||||||
echo "Publishing to GitHub via gh..."
|
echo "Publishing to GitHub via gh..."
|
||||||
|
|||||||
Reference in New Issue
Block a user