From 3f32f41e581d54eae9c1fb467dbe066336ec9f1b Mon Sep 17 00:00:00 2001 From: plusmouse Date: Fri, 17 Jan 2025 13:27:33 +0000 Subject: [PATCH] Fix Curseforge endpoints back to wow.curseforge.com (#182) --- release.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/release.sh b/release.sh index 47d57a3..c1117e5 100755 --- a/release.sh +++ b/release.sh @@ -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 @@ -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. @@ -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" \