Softrix / SmartBuff-Retail

Smartbuff Retail
1 stars 3 forks source link

Attempt at release script #32

Closed ynazar1 closed 1 month ago

ynazar1 commented 2 months ago

Optional:

Context: Documentation Permissions setup

This is a bare-bones release script that packages a curse-friendly zip file with the tagname via github.

Do note that after this, the direct checkout will not work with wow directly and only the packaged zip files will. the zip files are generated by github actions.

ynazar1 commented 2 months ago

Possible change to .pkgmeta:

package-as: Arh
externals:
  Libs/CallbackHandler-1.0: https://repos.curseforge.com/wow/callbackhandler/trunk/CallbackHandler-1.0
  Libs/LibStub: https://repos.curseforge.com/wow/libstub/trunk
  Libs/LibSharedMedia-3.0: https://repos.curseforge.com/wow/libsharedmedia-3-0/trunk/LibSharedMedia-3.0

Then remove them from the repo libs folder. So package will always have latest libs... when release is created.

ynazar1 commented 2 months ago

Update. This worked fine when i created a test release

The zip correctly includes the deleted latest version of libraries... Do note that after this, the direct checkout will not work with wow directly and only the packaged zip files will. the zip files are generated by github actions.

There may need to be a permission change that needs to happen around github_token which may require permission change as described here