Skip to content

Commit 8ad7819

Browse files
committed
[chore] fix greasyfork publish
1 parent 5f72ebf commit 8ad7819

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/scripts/publish_greasyfork.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,13 @@ SCRIPT_UPDATE_RESPONSE="$(request \
6363
-F "authenticity_token=$AUTH_TOKEN" \
6464
-F "script_version[code]=" \
6565
-F "code_upload=@$SCRIPT_FILE_PATH" \
66-
-F "script_version[attachments][]=" \
67-
-F "script_version[attachments][]=; filename=\"\"" \
6866
-F "script_version[additional_info][0][attribute_default]=true" \
6967
-F "script_version[additional_info][0][value_markup]=html" \
7068
-F "script_version[additional_info][0][attribute_value]=" \
69+
-F "script_version[attachments][]=" \
7170
-F "script_version[changelog_markup]=html" \
7271
-F "script_version[changelog]=" \
73-
-F "script[script_type_id]=$GREASYFORK_SCRIPT_TYPE" \
72+
-F "script[script_type]=$GREASYFORK_SCRIPT_TYPE" \
7473
-F "script[adult_content_self_report]=0" \
7574
-F "commit=Post new version" \
7675
"$UPDATE_URL")"

0 commit comments

Comments
 (0)