View Single Post
11-16-20, 12:09 PM   #77
StormFX
A Flamescale Wyrmkin
 
StormFX's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 109
Looks like most of your problem is your tags line.

For your "stable" builds, try something like:

Code:
on:
  push:
    tags:
      - '*.*.*'
      - '!*.*.*-*'
For your developmental builds, try something like:

Code:
on:
  push:
    tags:
      - '*.*.*-*'
Note the '!*.*.*-*' bit for the stable file. The ! means to ignore tags that match expression that follows, so you're explicitly telling the stable file to ignore developmental builds.

You don't need your add-on's name in tags. The packager does that and it's kind of redundant. So keep them simple, like "v2.0.4" or "v2.0.4-beta". If you must do it, make sure you include it in your tag lines for your workflows. The tag lines match the name of tags (regex-ish), so you'd do something like:

Code:
      - 'GuildBankSnapshots-*.*.*'
      - '!GuildBankSnapshots-*.*.*-*'
Etc.

Last edited by StormFX : 11-16-20 at 12:16 PM.
  Reply With Quote