Changelog: 0.6.1; the bare binary sorts after the tarball

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GT37Z1Xtfd9pUuQtMTg6Yt
This commit is contained in:
Bendik Aagaard Lynghaug
2026-09-30 17:19:34 +02:00
co-authored by Claude Opus 5.5
parent d3a9e79351
commit 5c95b6d8b3
3 changed files with 8 additions and 4 deletions
+4 -2
View File
@@ -71,7 +71,9 @@ jobs:
cp -r target/site "$stage/site"
tar -C "$stage" -czf "portal-$tag.tar.gz" portal hash.txt site
# The bare binary as well: a content repo's CI runs `portal lint`
# and needs nothing else from the release.
# and needs nothing else from the release. Named to sort after
# the tarball: Gitea lists assets by name, and deploy scripts
# written before 0.6 take the first one.
cp "$stage/portal" portal-bin
rm -rf "$stage"
@@ -101,5 +103,5 @@ jobs:
"$api/releases/$id/assets?name=portal-$tag.tar.gz" > /dev/null
curl -sf -X POST -H "$auth" \
-F "attachment=@portal-bin" \
"$api/releases/$id/assets?name=portal" > /dev/null
"$api/releases/$id/assets?name=portal-x86_64-linux" > /dev/null
echo "published $tag"