WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Help/Support (https://www.wowinterface.com/forums/forumdisplay.php?f=3)
-   -   How do I add multiple diff version of my addon? (live / classic / tbc) (https://www.wowinterface.com/forums/showthread.php?t=58728)

caffeineaddiction 05-11-21 11:13 AM

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.

DahkCeles 05-11-21 12:21 PM

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

caffeineaddiction 05-11-21 06:03 PM

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

StormFX 05-11-21 06:17 PM

You'll need to explain how you're attempting to use the packager before anyone can help you get it working.

caffeineaddiction 05-11-21 08:35 PM

Quote:

Originally Posted by StormFX (Post 339092)
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

StormFX 05-12-21 01:47 AM

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.

Mayron 05-12-21 03:37 AM

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 "[email protected]<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.

caffeineaddiction 05-12-21 09:12 AM

Quote:

Originally Posted by Mayron (Post 339102)
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 "[email protected]<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.




caffeineaddiction 05-12-21 09:19 AM

Nm ... just took a few min to process I guess. Page is updated now.

caffeineaddiction 05-12-21 09:40 AM

possibly issue w/ packager? ... submitted issue: https://github.com/BigWigsMods/packager/issues/94

caffeineaddiction 05-12-21 09:50 AM

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.

StormFX 05-12-21 10:10 AM

It happens to the best of us. :)


All times are GMT -6. The time now is 05:07 AM.

vBulletin © 2021, Jelsoft Enterprises Ltd
© 2004 - 2020 MMOUI