Skip to content

Commit

Permalink
Fix Curseforge endpoints back to wow.curseforge.com (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
plusmouse authored Jan 17, 2025
1 parent dbfa9d7 commit 3f32f41
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1409,7 +1409,7 @@ fi
echo
)
if [[ "$slug" =~ ^[0-9]+$ ]]; then
project_site="https://www.curseforge.com"
project_site="https://wow.curseforge.com"
echo "CurseForge ID: $slug${cf_token:+ [token set]}"
fi
if [ -n "$addonid" ]; then
Expand Down Expand Up @@ -2075,7 +2075,7 @@ checkout_external() {
project_site=
package=
if [[ "$_external_uri" == *"wowace.com"* || "$_external_uri" == *"curseforge.com"* ]]; then
project_site="https://www.curseforge.com"
project_site="https://wow.curseforge.com"
fi

# If a .pkgmeta file is present, process it for "ignore" and "plain-copy" lists.
Expand Down Expand Up @@ -2805,7 +2805,7 @@ upload_curseforge() {
_cf_payload=$( echo "$_cf_payload $_cf_payload_relations" | jq -s -c '.[0] * .[1]' )
fi

echo "Uploading $archive_name ($_cf_game_version $file_type) to https://www.curseforge.com/projects/$slug"
echo "Uploading $archive_name ($_cf_game_version $file_type) to https://wow.curseforge.com/projects/$slug"
resultfile="$releasedir/cf_result.json"
if result=$( echo "$_cf_payload" | curl -sS --retry 3 --retry-delay 10 \
-w "%{http_code}" -o "$resultfile" \
Expand Down

0 comments on commit 3f32f41

Please sign in to comment.