Compare commits
4 Commits
2026.05.29
...
2026.05.31
| Author | SHA1 | Date | |
|---|---|---|---|
| ec25b5d022 | |||
| 5238a66e21 | |||
| 41ecfa65eb | |||
| dadb1706c4 |
@@ -33,10 +33,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
|
# Upload every dist/*.zip
|
||||||
for f in dist/*.zip; do
|
for f in dist/*.zip; do
|
||||||
name=$(basename "$f")
|
name=$(basename "$f")
|
||||||
|
|||||||
+1
-1
@@ -89,7 +89,7 @@ addons:
|
|||||||
|
|
||||||
- repo: coa-vanillaguide
|
- repo: coa-vanillaguide
|
||||||
include: true
|
include: true
|
||||||
note: "Repo-only - not part of the default Exiles install."
|
note: "Ace2 stack runs on 3.3.5 via Lua50Compat shim (table.getn/setn restored) since 1.04.2-coa1-coa.2."
|
||||||
|
|
||||||
- repo: coa-weakauras
|
- repo: coa-weakauras
|
||||||
include: true
|
include: true
|
||||||
|
|||||||
Reference in New Issue
Block a user