Quantcast
WoWInterface - View Single Post - Help with packaging addons
View Single Post
07-06-20, 03:48 AM   #7
Ketho
A Molten Giant
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 932
WSL is nice if you want to package it manually. You can also use GitHub Actions to let them package it for you
Code:
name: Release AddOn

on:
  push:
    tags:
      - '**'

env:
  CF_API_KEY: ${{ secrets.CF_API_KEY }}
  WOWI_API_TOKEN: ${{ secrets.WOWI_API_TOKEN }}
  # uploads your zip to GitHub releases, GITHUB_TOKEN is already available
  GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }}

jobs:
  release:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/[email protected]

      - uses: BigWigsMods/[email protected]
        with:
          args: release.sh
GitHub: Creating and storing encrypted secrets


Originally Posted by FranekW View Post
still don't know how to auto-include external libraries.

You use the .pkgmeta file for including external libraries (provided you use the CurseForge or BigWigs packager)
Code:
package-as: SomeAddon

externals:
  Libs/LibStub: https://repos.wowace.com/wow/libstub/tags/1.0
  Libs/CallbackHandler-1.0: https://repos.wowace.com/wow/callbackhandler/trunk/CallbackHandler-1.0
  Libs/AceAddon-3.0: https://repos.wowace.com/wow/ace3/trunk/AceAddon-3.0
  Libs/AceConsole-3.0: https://repos.wowace.com/wow/ace3/trunk/AceConsole-3.0
  Libs/AceEvent-3.0: https://repos.wowace.com/wow/ace3/trunk/AceEvent-3.0
  Libs/AceDB-3.0: https://repos.wowace.com/wow/ace3/trunk/AceDB-3.0
  Libs/AceDBOptions-3.0: https://repos.wowace.com/wow/ace3/trunk/AceDBOptions-3.0
  Libs/AceGUI-3.0: https://repos.wowace.com/wow/ace3/trunk/AceGUI-3.0
  Libs/AceConfig-3.0: https://repos.wowace.com/wow/ace3/trunk/AceConfig-3.0

Last edited by Ketho : 07-06-20 at 05:30 AM.
  Reply With Quote