View Single Post
10-16-20, 03:49 PM   #6
LudiusMaximus
A Rage Talon Dragon Guard
 
LudiusMaximus's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2018
Posts: 320
Hm, I'm not sure.

This seems to be the normal way this is done by the packager...

Code:
_wowi_args=()
    if [ -f "$wowi_changelog" ]; then
      _wowi_args+=("-F changelog=<$wowi_changelog")
    elif [ -n "$manual_changelog" ]; then
      _wowi_args+=("-F changelog=<$pkgdir/$changelog")
    fi

Code:
result=$( curl -sS --retry 3 --retry-delay 10 \
          -w "%{http_code}" -o "$resultfile" \
          -H "x-api-token: $wowi_token" \
          -F "id=$addonid" \
          -F "version=$archive_version" \
          "${_wowi_args[@]}" \
          -F "updatefile=@$archive" \
          "https://api.wowinterface.com/addons/update" )

What else could it be?
__________________
~ Be the change you want to see in the world... of warcraft interface! ~
  Reply With Quote