Compare commits

..

5 commits

Author SHA1 Message Date
961276c06a chore: bump toc Version to 1.3.9-coa.3 to match latest release tag 2026-06-10 02:16:14 +02:00
2c2fce579a ci(release): sync release.yml from coa-template
hide_archive_links is only honored by Gitea on release edit, not create —
add the PATCH step after create/lookup so auto-generated source archive
links actually stay hidden (coa-template 90874c5).
2026-06-10 02:11:46 +02:00
86185e9158 ci(release): hide auto-generated source archives (hide_archive_links) 2026-05-29 20:51:13 +02:00
1de3ac8d18 fix(libs): pcall AceGUI OnGamePadButtonDown (3.3.5 has no gamepad script type)
All checks were successful
release / release (push) Successful in 2s
2026-05-29 20:23:33 +02:00
a5b67340ff fix(Config): guard InterfaceOptions, fall back to AceConfigDialog on CoA 2026-05-29 10:43:54 +02:00
4 changed files with 18 additions and 8 deletions

View file

@ -37,10 +37,14 @@ jobs:
RID=$(curl -sf -X POST -H "Authorization: token $GITEA_TOKEN" \
-H "Content-Type: application/json" \
"$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')
fi
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 —
# we want partial releases to still publish rather than block the
# whole pipeline on one big file.

View file

@ -162,11 +162,17 @@ local function getOptions()
return options
end
local function optFunc()
-- open the profiles tab before, so the menu expands
InterfaceOptionsFrame_OpenToCategory(Mapster.optionsFrames.Profiles)
InterfaceOptionsFrame_OpenToCategory(Mapster.optionsFrames.Mapster)
InterfaceOptionsFrame:Raise()
local function optFunc()
-- CoA: InterfaceOptionsFrame_OpenToCategory / InterfaceOptionsFrame are nil on 3.3.5;
-- fall back to AceConfigDialog which works on all clients.
if InterfaceOptionsFrame_OpenToCategory then
-- open the profiles tab before, so the menu expands
InterfaceOptionsFrame_OpenToCategory(Mapster.optionsFrames.Profiles)
InterfaceOptionsFrame_OpenToCategory(Mapster.optionsFrames.Mapster)
if InterfaceOptionsFrame then InterfaceOptionsFrame:Raise() end
else
LibStub("AceConfigDialog-3.0"):Open("Mapster")
end
end
function Mapster:SetupOptions()

View file

@ -199,7 +199,7 @@ local function Constructor()
button:SetScript("OnKeyDown", Keybinding_OnKeyDown)
button:SetScript("OnMouseDown", Keybinding_OnMouseDown)
button:SetScript("OnMouseWheel", Keybinding_OnMouseWheel)
button:SetScript("OnGamePadButtonDown", Keybinding_OnKeyDown)
pcall(button.SetScript, button, "OnGamePadButtonDown", Keybinding_OnKeyDown)
button:SetPoint("BOTTOMLEFT")
button:SetPoint("BOTTOMRIGHT")
button:SetHeight(24)

View file

@ -6,7 +6,7 @@
## Author: Nevcairiel
## SavedVariables: MapsterDB
## X-Category: Map
## Version: 1.3.9-coa.2
## Version: 1.3.9-coa.3
## X-License: All rights reserved.
## OptionalDeps: Ace3, LibBabble-Zone-3.0, LibWindow-1.1