Compare commits

..

6 commits

Author SHA1 Message Date
3244fb24a2 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
2fe580c73a ci(release): hide auto-generated source archives (hide_archive_links) 2026-05-29 20:51:13 +02:00
8f9649c79e 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
c8a976bcf5 fix(Interrupt): revert to WotLK 8-arg CLEU (CoA has no hideCaster/RaidFlags) 2026-05-29 19:36:04 +02:00
68df17cb10 Revert "fix(Swing): correct CLEU arg order for 3.3.5 (hideCaster + RaidFlags, destFlags)"
This reverts commit 8a180dcc7a.
2026-05-29 19:27:50 +02:00
8a180dcc7a fix(Swing): correct CLEU arg order for 3.3.5 (hideCaster + RaidFlags, destFlags) 2026-05-29 10:43:54 +02:00
3 changed files with 9 additions and 11 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

@ -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

@ -53,15 +53,9 @@ function Interrupt:ApplySettings()
db = self.db.profile
end
-- 3.3.5 CLEU signature:
-- (event, timestamp, subevent, hideCaster,
-- srcGUID, srcName, srcFlags, srcRaidFlags,
-- destGUID, destName, destFlags, destRaidFlags,
-- spellId, spellName, spellSchool, extraSpellId, extraSpellName, extraSpellSchool)
function Interrupt:COMBAT_LOG_EVENT_UNFILTERED(event, timestamp, combatEvent, hideCaster,
srcGUID, sourceName, srcFlags, srcRaidFlags,
destGUID, destName, destFlags, destRaidFlags,
spellId, spellName, spellSchool)
-- CoA 3.3.5 uses the standard WotLK 8-arg CLEU layout (no hideCaster/RaidFlags):
-- (event, timestamp, subevent, srcGUID, srcName, srcFlags, destGUID, destName, destFlags, ...)
function Interrupt:COMBAT_LOG_EVENT_UNFILTERED(event, timestamp, combatEvent, _, sourceName, _, _, _, destFlags)
if combatEvent == "SPELL_INTERRUPT" and destFlags == 0x511 then
Player.Bar.Text:SetFormattedText(L["INTERRUPTED (%s)"], (sourceName or UNKNOWN):upper())
Player.Bar.Bar:SetStatusBarColor(unpack(db.interruptcolor))