Compare commits
3 commits
Rev668-coa
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 43026d1109 | |||
| cad2e8cc26 | |||
| dfdca08ea9 |
3 changed files with 5 additions and 4 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.
|
||||||
|
|
|
||||||
|
|
@ -29,5 +29,4 @@ Modules\Options.lua
|
||||||
Modules\EnchantingInfo.lua
|
Modules\EnchantingInfo.lua
|
||||||
Modules\Gather.lua
|
Modules\Gather.lua
|
||||||
Modules\Sync.lua
|
Modules\Sync.lua
|
||||||
Modules\SpellNames2IDs.lua
|
|
||||||
Modules\VellumInfo.lua
|
Modules\VellumInfo.lua
|
||||||
|
|
@ -30,10 +30,8 @@ modules\Options.lua
|
||||||
|
|
||||||
sidebar\Sidebar.lua
|
sidebar\Sidebar.lua
|
||||||
sidebar\Saved.lua
|
sidebar\Saved.lua
|
||||||
sidebar\Sniper.lua
|
|
||||||
sidebar\Groups.lua
|
sidebar\Groups.lua
|
||||||
sidebar\ShoppingLog.lua
|
sidebar\ShoppingLog.lua
|
||||||
sidebar\QuickPosting.lua
|
sidebar\QuickPosting.lua
|
||||||
sidebar\CustomFilter.lua
|
sidebar\CustomFilter.lua
|
||||||
sidebar\Crafting.lua
|
|
||||||
sidebar\Other.lua
|
sidebar\Other.lua
|
||||||
Loading…
Add table
Add a link
Reference in a new issue