mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-03 16:10:05 +00:00
ci: label desktop download links with platform
This commit is contained in:
@@ -410,8 +410,14 @@ jobs:
|
|||||||
# Skip the stable "latest" aliases — they track whatever is deployed, not this version.
|
# Skip the stable "latest" aliases — they track whatever is deployed, not this version.
|
||||||
case "$name" in HealthChat.dmg|HealthChat-Setup.exe) continue ;; esac
|
case "$name" in HealthChat.dmg|HealthChat-Setup.exe) continue ;; esac
|
||||||
dir=$(dirname "${f#feed/}")
|
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')
|
enc=$(jq -rn --arg s "$name" '$s|@uri')
|
||||||
echo "- [$name]($BASE/$dir/$enc)"
|
echo "- [$name]($BASE/$dir/$enc) — $platform"
|
||||||
done
|
done
|
||||||
} > release-body.md
|
} > release-body.md
|
||||||
gh release edit "$TAG" --notes-file release-body.md
|
gh release edit "$TAG" --notes-file release-body.md
|
||||||
|
|||||||
Reference in New Issue
Block a user