Skip to content

Commit a3bbca8

Browse files
committed
Add Mists support and try to fix automatic versioning based on project date.
1 parent a26efb6 commit a3bbca8

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/toc-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
uses: actions/checkout@v4.1.1
1313

1414
- name: Update TOC Interface version
15-
uses: p3lim/toc-interface-updater@v3
15+
uses: p3lim/toc-interface-updater@v4
1616
with:
1717
base: retail # this is default
1818

LibMagicUtil-1.0.toc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
## Interface-Classic: 11501
33
## Interface-BCC: 20504
44
## Interface-Cata: 40402
5+
## Interface-Mists: 50500
56
## X-Curse-Project-ID: 18625
67
## LoadOnDemand: 1
78
## Title: Lib: MagicUtil-1.0
89
## Notes: Utility library with shared functions and data for various addons by NeoTron.
910
## Author: NeoTron
1011
## eMail: neotron@gmail.com
11-
## Version: 1.0.@project-revision@
12+
## Version: 1.0.@project-date-integer@
1213
## X-Category: Library
1314
## X-License: GPLv3
1415

LibMagicUtil-1.0/LibMagicUtil-1.0.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ After embedding you will be able to use the following methods:
2424
]]
2525

2626
local MAJOR = "LibMagicUtil-1.0"
27-
local MINOR = 2025053101
27+
local MINOR = tonumber("@project-date-integer@") or tonumber(date("%Y%m%d%H%M%S"))
2828

2929
local lib = LibStub:NewLibrary(MAJOR, MINOR)
3030
local media = LibStub("LibSharedMedia-3.0")

0 commit comments

Comments
 (0)