Skip to content

Commit

Permalink
Post metadata inlined as a form field
Browse files Browse the repository at this point in the history
  • Loading branch information
haggen committed Aug 27, 2023
1 parent 889a1c0 commit 926d4cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/upload
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,5 @@ jq --rawfile changelog "$dist/CHANGELOG.md" \
# Upload to CurseForge.
curl -vf -X POST "https://wow.curseforge.com/api/projects/$project_id/upload-file" \
-H "X-Api-Token: $token" \
-F "metadata=@$dist/metadata.json" \
-F "metadata=<$dist/metadata.json" \
-F "file=@$dist/$archive"

0 comments on commit 926d4cf

Please sign in to comment.