Compare commits
4 commits
11.b2-coa.
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 779ca0cd9e | |||
| f8719d17b2 | |||
| 717523bc71 | |||
| 081ee6aa5d |
2 changed files with 14 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.
|
||||||
|
|
|
||||||
|
|
@ -1500,17 +1500,21 @@
|
||||||
self.OnMAPostReset = function(self)
|
self.OnMAPostReset = function(self)
|
||||||
|
|
||||||
local buffFrame = _G["BuffFrame"]
|
local buffFrame = _G["BuffFrame"]
|
||||||
MovAny:UnlockPoint(buffFrame)
|
if buffFrame then
|
||||||
buffFrame:SetPoint("TOPRIGHT", UIParent, "TOPRIGHT", -205, -13)
|
MovAny:UnlockPoint(buffFrame)
|
||||||
|
buffFrame:SetPoint("TOPRIGHT", UIParent, "TOPRIGHT", -205, -13)
|
||||||
|
end
|
||||||
|
|
||||||
local consolidatedBuffs = _G["ConsolidatedBuffs"]
|
local consolidatedBuffs = _G["ConsolidatedBuffs"]
|
||||||
MovAny:UnlockPoint(consolidatedBuffs)
|
if consolidatedBuffs then
|
||||||
consolidatedBuffs:SetPoint("TOPRIGHT", UIParent, "TOPRIGHT", -180, -13)
|
MovAny:UnlockPoint(consolidatedBuffs)
|
||||||
|
consolidatedBuffs:SetPoint("TOPRIGHT", UIParent, "TOPRIGHT", -180, -13)
|
||||||
|
end
|
||||||
|
|
||||||
local vanityBuffs = _G["VanityBuffs"]
|
local vanityBuffs = _G["VanityBuffs"]
|
||||||
if vanityBuffs then
|
if vanityBuffs then
|
||||||
MovAny:UnlockPoint(vanityBuffs)
|
MovAny:UnlockPoint(vanityBuffs)
|
||||||
vanityBuffs:SetPoint("TOPRIGHT", consolidatedBuffs, "TOPRIGHT", -6, 0)
|
vanityBuffs:SetPoint("TOPRIGHT", consolidatedBuffs or UIParent, "TOPRIGHT", -6, 0)
|
||||||
end
|
end
|
||||||
|
|
||||||
self:Hide()
|
self:Hide()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue