commit 43ec641f91453208953724becc13e5d38279b951
parent 6ae9331f4138381641b4c940e64f59a539af3991
Author: Matt Demanett <matt@demanett.net>
Date: Sun, 19 Dec 2021 16:23:23 -0500
Fix autobuild upload script for new v2 plugin file extension.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/actions/upload_zip/script.sh b/.github/actions/upload_zip/script.sh
@@ -14,11 +14,11 @@ curl -o release.json \
UPLOAD_URL=$(jq -r .upload_url release.json)
-ASSET_PATH=$(ls dist/*.zip)
+ASSET_PATH=$(ls dist/*.vcvplugin)
curl -i \
--header "Authorization: token ${GITHUB_TOKEN}" \
- --header "Content-Type: application/zip" \
+ --header "Content-Type: application/zstd" \
--request POST \
--data-binary @"${ASSET_PATH}" \
${UPLOAD_URL%"{?name,label\}"}?name=${ASSET_PATH#"dist/"}