Compare commits
5 commits
1.3.9-coa.
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 961276c06a | |||
| 2c2fce579a | |||
| 86185e9158 | |||
| 1de3ac8d18 | |||
| a5b67340ff |
4 changed files with 18 additions and 8 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.
|
||||||
|
|
|
||||||
|
|
@ -163,10 +163,16 @@ local function getOptions()
|
||||||
end
|
end
|
||||||
|
|
||||||
local function optFunc()
|
local function optFunc()
|
||||||
-- open the profiles tab before, so the menu expands
|
-- CoA: InterfaceOptionsFrame_OpenToCategory / InterfaceOptionsFrame are nil on 3.3.5;
|
||||||
InterfaceOptionsFrame_OpenToCategory(Mapster.optionsFrames.Profiles)
|
-- fall back to AceConfigDialog which works on all clients.
|
||||||
InterfaceOptionsFrame_OpenToCategory(Mapster.optionsFrames.Mapster)
|
if InterfaceOptionsFrame_OpenToCategory then
|
||||||
InterfaceOptionsFrame:Raise()
|
-- 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
|
end
|
||||||
|
|
||||||
function Mapster:SetupOptions()
|
function Mapster:SetupOptions()
|
||||||
|
|
|
||||||
|
|
@ -199,7 +199,7 @@ local function Constructor()
|
||||||
button:SetScript("OnKeyDown", Keybinding_OnKeyDown)
|
button:SetScript("OnKeyDown", Keybinding_OnKeyDown)
|
||||||
button:SetScript("OnMouseDown", Keybinding_OnMouseDown)
|
button:SetScript("OnMouseDown", Keybinding_OnMouseDown)
|
||||||
button:SetScript("OnMouseWheel", Keybinding_OnMouseWheel)
|
button:SetScript("OnMouseWheel", Keybinding_OnMouseWheel)
|
||||||
button:SetScript("OnGamePadButtonDown", Keybinding_OnKeyDown)
|
pcall(button.SetScript, button, "OnGamePadButtonDown", Keybinding_OnKeyDown)
|
||||||
button:SetPoint("BOTTOMLEFT")
|
button:SetPoint("BOTTOMLEFT")
|
||||||
button:SetPoint("BOTTOMRIGHT")
|
button:SetPoint("BOTTOMRIGHT")
|
||||||
button:SetHeight(24)
|
button:SetHeight(24)
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
## Author: Nevcairiel
|
## Author: Nevcairiel
|
||||||
## SavedVariables: MapsterDB
|
## SavedVariables: MapsterDB
|
||||||
## X-Category: Map
|
## X-Category: Map
|
||||||
## Version: 1.3.9-coa.2
|
## Version: 1.3.9-coa.3
|
||||||
## X-License: All rights reserved.
|
## X-License: All rights reserved.
|
||||||
|
|
||||||
## OptionalDeps: Ace3, LibBabble-Zone-3.0, LibWindow-1.1
|
## OptionalDeps: Ace3, LibBabble-Zone-3.0, LibWindow-1.1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue