From 674a3d3ebc7a24b0887a09c6dd85786797fc45bd Mon Sep 17 00:00:00 2001 From: haiker Date: Sat, 5 Mar 2022 21:23:17 +0800 Subject: [PATCH] Support specify the publish file name (#39) Co-authored-by: ihaiker --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index e015a74..304ca43 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -42,7 +42,7 @@ fi UPLOAD_URL=${UPLOAD_URL/\{?name,label\}/} RELEASE_NAME=$(echo "$EVENT_DATA" | jq -r .release.tag_name) PROJECT_NAME=$(basename "$GITHUB_REPOSITORY") -NAME="${NAME:-${PROJECT_NAME}_${RELEASE_NAME}}_${RUSTTARGET}" +NAME="${NAME:-${PROJECT_NAME}_${RELEASE_NAME}_${RUSTTARGET}}" ARCHIVE_TYPES="${ARCHIVE_TYPES:-"zip"}" EXTRA_FILES="${EXTRA_FILES:-""}"