ci: label desktop download links with platform

This commit is contained in:
2026-07-29 23:32:28 +02:00
parent 637eaa7356
commit 697c7efe15
@@ -410,8 +410,14 @@ jobs:
# Skip the stable "latest" aliases — they track whatever is deployed, not this version.
case "$name" in HealthChat.dmg|HealthChat-Setup.exe) continue ;; esac
dir=$(dirname "${f#feed/}")
case "$dir" in
*/macos) platform="macOS" ;;
*/x64) platform="Windows x64" ;;
*/arm64) platform="Windows arm64" ;;
*) platform="$dir" ;;
esac
enc=$(jq -rn --arg s "$name" '$s|@uri')
echo "- [$name]($BASE/$dir/$enc)"
echo "- [$name]($BASE/$dir/$enc) — $platform"
done
} > release-body.md
gh release edit "$TAG" --notes-file release-body.md