Thread Tools Display Modes
05-11-21, 11:13 AM   #1
caffeineaddiction
A Deviate Faerie Dragon
 
caffeineaddiction's Avatar
AddOn Author - Click to view addons
Join Date: May 2021
Posts: 11
How do I add multiple diff version of my addon? (live / classic / tbc)

I have seen other addons include diff version downloads for various diff versions of wow, but I do not see an option for this on the update interface.
  Reply With Quote
05-11-21, 12:21 PM   #2
DahkCeles
A Cliff Giant
 
DahkCeles's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2020
Posts: 73
WoWI can do the three variants when using the API (such as via the packager), but not with manual uploading. I found these forum threads helpful when searching the other day:

- https://www.wowinterface.com/forums/...ad.php?t=57394
- https://www.wowinterface.com/forums/...ad.php?t=58271
  Reply With Quote
05-11-21, 06:03 PM   #3
caffeineaddiction
A Deviate Faerie Dragon
 
caffeineaddiction's Avatar
AddOn Author - Click to view addons
Join Date: May 2021
Posts: 11
yah, im attempting to use packager ... but it doesn't seem to be working.

`## X-WoWI-ID: 25995` is listed in my .toc

```
.pkgmeta
.pkgmeta-bc
.pkgmeta-classic
```

files are all listed in my repo (and work w/ curse)

and api key is set in github secrets as WOWI_API_TOKEN

... not sure what I am missing
  Reply With Quote
05-11-21, 06:17 PM   #4
StormFX
A Flamescale Wyrmkin
 
StormFX's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 109
You'll need to explain how you're attempting to use the packager before anyone can help you get it working.
  Reply With Quote
05-11-21, 08:35 PM   #5
caffeineaddiction
A Deviate Faerie Dragon
 
caffeineaddiction's Avatar
AddOn Author - Click to view addons
Join Date: May 2021
Posts: 11
Originally Posted by StormFX View Post
You'll need to explain how you're attempting to use the packager before anyone can help you get it working.
https://github.com/caffeineaddiction...lows/build.yml
  Reply With Quote
05-12-21, 01:47 AM   #6
StormFX
A Flamescale Wyrmkin
 
StormFX's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 109
Hm. I would double check your api key. It doesn't seem to be exiting with an error, but it's not saying it's completing the upload, either. You might try uploading via WoWI's API (there's a guide around here somewhere) and see if you get an error.
  Reply With Quote
05-12-21, 03:37 AM   #7
Mayron
A Frostmaul Preserver
 
Mayron's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 275
I do it all manually using the WoWInterface update API:
https://www.wowinterface.com/forums/...ad.php?t=51835

For example, I have my addon zip file ready for uploading in the root of my C drive and run the following in cmd/terminal:

curl -H "x-api-token: <my_token_I_generated_from_wowinterface>" -F "id=<my_addon_id>" -F "version=<new_version_of_my_addon>" -F "compatible=9.0.5" -F "updatefile=@<my_zip_filename.zip>" https://api.wowinterface.com/addons/update

but if you want to automate it with a packager on GitHub then it's more complicated and someone else can help you with that.
  Reply With Quote
05-12-21, 09:12 AM   #8
caffeineaddiction
A Deviate Faerie Dragon
 
caffeineaddiction's Avatar
AddOn Author - Click to view addons
Join Date: May 2021
Posts: 11
Originally Posted by Mayron View Post
I do it all manually using the WoWInterface update API:
https://www.wowinterface.com/forums/...ad.php?t=51835

For example, I have my addon zip file ready for uploading in the root of my C drive and run the following in cmd/terminal:

curl -H "x-api-token: <my_token_I_generated_from_wowinterface>" -F "id=<my_addon_id>" -F "version=<new_version_of_my_addon>" -F "compatible=9.0.5" -F "updatefile=@<my_zip_filename.zip>" https://api.wowinterface.com/addons/update

but if you want to automate it with a packager on GitHub then it's more complicated and someone else can help you with that.


  Reply With Quote
05-12-21, 09:19 AM   #9
caffeineaddiction
A Deviate Faerie Dragon
 
caffeineaddiction's Avatar
AddOn Author - Click to view addons
Join Date: May 2021
Posts: 11
Nm ... just took a few min to process I guess. Page is updated now.
  Reply With Quote
05-12-21, 09:40 AM   #10
caffeineaddiction
A Deviate Faerie Dragon
 
caffeineaddiction's Avatar
AddOn Author - Click to view addons
Join Date: May 2021
Posts: 11
possibly issue w/ packager? ... submitted issue: https://github.com/BigWigsMods/packager/issues/94
  Reply With Quote
05-12-21, 09:50 AM   #11
caffeineaddiction
A Deviate Faerie Dragon
 
caffeineaddiction's Avatar
AddOn Author - Click to view addons
Join Date: May 2021
Posts: 11
nm, I am confirmed stupid ... forgot to re-publish on git after adding the project ID to the .toc file ... thus when I re-ran the old release it was still pointing to the previous commit w/ out the .toc changes.
  Reply With Quote
05-12-21, 10:10 AM   #12
StormFX
A Flamescale Wyrmkin
 
StormFX's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 109
It happens to the best of us.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » How do I add multiple diff version of my addon? (live / classic / tbc)

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off