3 Commits

Author SHA1 Message Date
florian.berthold 5238a66e21 ci(release): PATCH hide_archive_links after create (Gitea honors it only on edit)
release-pack / pack (push) Successful in 16s
2026-05-30 06:43:04 +02:00
florian.berthold 41ecfa65eb manifest: exclude coa-vanillaguide (Ace2 crash) until ported
release-pack / pack (push) Successful in 15s
2026-05-30 06:25:17 +02:00
florian.berthold dadb1706c4 ci(release): hide auto-generated source archives (hide_archive_links) 2026-05-29 20:50:12 +02:00
2 changed files with 7 additions and 3 deletions
+5 -1
View File
@@ -33,10 +33,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
for f in dist/*.zip; do
name=$(basename "$f")
+2 -2
View File
@@ -88,8 +88,8 @@ addons:
include: true
- repo: coa-vanillaguide
include: true
note: "Repo-only - not part of the default Exiles install."
include: false
note: "Excluded until ported off Ace2 — AceOO-2.0 table.setn/getn crash at load on 3.3.5. Re-include once it runs."
- repo: coa-weakauras
include: true