Compare commits
4 commits
3.3.5-coa.
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 1b23a9179f | |||
| b459963a29 | |||
| a671b0871f | |||
| d6395b3592 |
2 changed files with 18 additions and 6 deletions
|
|
@ -37,10 +37,14 @@ jobs:
|
||||||
RID=$(curl -sf -X POST -H "Authorization: token $GITEA_TOKEN" \
|
RID=$(curl -sf -X POST -H "Authorization: token $GITEA_TOKEN" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
"$API/repos/$REPO/releases" \
|
"$API/repos/$REPO/releases" \
|
||||||
-d "$(jq -nc --arg t "$TAG" '{tag_name:$t,name:$t,draft:false,prerelease:false}')" \
|
-d "$(jq -nc --arg t "$TAG" '{tag_name:$t,name:$t,draft:false,prerelease:false,hide_archive_links:true}')" \
|
||||||
| jq -r '.id')
|
| jq -r '.id')
|
||||||
fi
|
fi
|
||||||
echo "release id: $RID"
|
echo "release id: $RID"
|
||||||
|
# Gitea honors hide_archive_links only on edit, not create — PATCH it
|
||||||
|
# so the auto-generated Source Code (zip/tar.gz) links stay hidden.
|
||||||
|
curl -sf -X PATCH -H "Authorization: token $GITEA_TOKEN" -H "Content-Type: application/json" \
|
||||||
|
"$API/repos/$REPO/releases/$RID" -d '{"hide_archive_links":true}' >/dev/null || true
|
||||||
# Upload every dist/*.zip. Per-asset failures don't fail the job —
|
# Upload every dist/*.zip. Per-asset failures don't fail the job —
|
||||||
# we want partial releases to still publish rather than block the
|
# we want partial releases to still publish rather than block the
|
||||||
# whole pipeline on one big file.
|
# whole pipeline on one big file.
|
||||||
|
|
|
||||||
|
|
@ -11398,7 +11398,7 @@ function LeaPlusLC:Player()
|
||||||
end
|
end
|
||||||
tooltip:AddLine("Leatrix Plus")
|
tooltip:AddLine("Leatrix Plus")
|
||||||
tooltip:AddLine("|cffeda55fClick|r |cff99ff00to open Leatrix Plus options.|r")
|
tooltip:AddLine("|cffeda55fClick|r |cff99ff00to open Leatrix Plus options.|r")
|
||||||
tooltip:AddLine("|cffeda55fRight-Click|r |cff99ff00to reload the user interface.|r")
|
tooltip:AddLine("|cffeda55fRight-Click|r |cff99ff00to open Leatrix Plus options.|r")
|
||||||
|
|
||||||
-- Toggle error message line color based on HideErrorMessages state
|
-- Toggle error message line color based on HideErrorMessages state
|
||||||
if LeaPlusLC["HideErrorMessages"] == "On" then
|
if LeaPlusLC["HideErrorMessages"] == "On" then
|
||||||
|
|
@ -20068,9 +20068,17 @@ function LeaPlusLC:SlashFunc(str)
|
||||||
|
|
||||||
-- Create class tables (dynamic: covers DEATHKNIGHT and CoA custom classes)
|
-- Create class tables (dynamic: covers DEATHKNIGHT and CoA custom classes)
|
||||||
local classList = {}
|
local classList = {}
|
||||||
for i = 1, GetNumClasses() do
|
if GetNumClasses then
|
||||||
local _, classFile = GetClassInfo(i)
|
for i = 1, GetNumClasses() do
|
||||||
if classFile then tinsert(classList, classFile) end
|
local _, classFile = GetClassInfo(i)
|
||||||
|
if classFile then tinsert(classList, classFile) end
|
||||||
|
end
|
||||||
|
elseif CLASS_SORT_ORDER then
|
||||||
|
-- CoA: GetNumClasses/GetClassInfo are FrameXML additions that may
|
||||||
|
-- be absent; fall back to the stock class token list
|
||||||
|
for i = 1, #CLASS_SORT_ORDER do
|
||||||
|
tinsert(classList, CLASS_SORT_ORDER[i])
|
||||||
|
end
|
||||||
end
|
end
|
||||||
for index = 1, #classList do
|
for index = 1, #classList do
|
||||||
if LeaPlusDB["Cooldowns"][classList[index]] == nil then
|
if LeaPlusDB["Cooldowns"][classList[index]] == nil then
|
||||||
|
|
@ -20478,7 +20486,7 @@ LeaPlusLC:CfgBtn("ModFasterLootingBtn", LeaPlusCB["FasterLooting"])
|
||||||
pg = "Page8";
|
pg = "Page8";
|
||||||
|
|
||||||
LeaPlusLC:MakeTx(LeaPlusLC[pg], "Addon", 146, -72);
|
LeaPlusLC:MakeTx(LeaPlusLC[pg], "Addon", 146, -72);
|
||||||
LeaPlusLC:MakeCB(LeaPlusLC[pg], "ShowMinimapIcon", "Show minimap button", 146, -92, false, "If checked, a minimap button will be available.|n|nClick - Toggle options panel.|n|nRight-Click - Reload UI.")
|
LeaPlusLC:MakeCB(LeaPlusLC[pg], "ShowMinimapIcon", "Show minimap button", 146, -92, false, "If checked, a minimap button will be available.|n|nClick - Toggle options panel.|n|nRight-Click - Toggle options panel.")
|
||||||
-- todo: add more minimap button click functions
|
-- todo: add more minimap button click functions
|
||||||
--LeaPlusLC:MakeCB(LeaPlusLC[pg], "ShowMinimapIcon" , "Show minimap button" , 146, -92, false, "If checked, a minimap button will be available.|n|nClick - Toggle options panel.|n|nSHIFT-click - Toggle music.|n|nALT-click - Toggle errors (if enabled).|n|nCTRL/SHIFT-click - Toggle Zygor (if installed).|n|nCTRL/ALT-click - Toggle windowed mode.")
|
--LeaPlusLC:MakeCB(LeaPlusLC[pg], "ShowMinimapIcon" , "Show minimap button" , 146, -92, false, "If checked, a minimap button will be available.|n|nClick - Toggle options panel.|n|nSHIFT-click - Toggle music.|n|nALT-click - Toggle errors (if enabled).|n|nCTRL/SHIFT-click - Toggle Zygor (if installed).|n|nCTRL/ALT-click - Toggle windowed mode.")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue