Compare commits
3 Commits
2026.05.29
...
2026.05.30
| Author | SHA1 | Date | |
|---|---|---|---|
| 5238a66e21 | |||
| 41ecfa65eb | |||
| dadb1706c4 |
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user