fix(ci): replace jq with python3 in update-manifest (jq not in node:20-bookworm)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-10 11:17:52 -04:00
parent 667ad72583
commit 7c77c8e850
+13 -16
View File
@@ -189,22 +189,19 @@ jobs:
VERSION=$(echo "$RELEASE" | python3 -c "import sys,json; print(json.load(sys.stdin)['name'].split()[-1])") VERSION=$(echo "$RELEASE" | python3 -c "import sys,json; print(json.load(sys.stdin)['name'].split()[-1])")
DATE=$(date -u +%Y-%m-%dT%H:%M:%SZ) DATE=$(date -u +%Y-%m-%dT%H:%M:%SZ)
jq -n \ python3 -c "
--arg version "$VERSION" \ import json, sys
--arg date "$DATE" \ win_sig, lin_sig = sys.argv[1], sys.argv[2]
--arg win_url "$BASE/LotusChat-x86_64-setup.nsis.zip" \ print(json.dumps({
--arg win_sig "$WIN_SIG" \ 'version': '$VERSION',
--arg lin_url "$BASE/LotusChat-x86_64.AppImage.tar.gz" \ 'notes': 'Latest Lotus Chat release',
--arg lin_sig "$LIN_SIG" \ 'pub_date': '$DATE',
'{ 'platforms': {
version: $version, 'windows-x86_64': {'url': '$BASE/LotusChat-x86_64-setup.nsis.zip', 'signature': win_sig},
notes: "Latest Lotus Chat release", 'linux-x86_64': {'url': '$BASE/LotusChat-x86_64.AppImage.tar.gz', 'signature': lin_sig}
pub_date: $date, }
platforms: { }, indent=2))
"windows-x86_64": { url: $win_url, signature: $win_sig }, " "$WIN_SIG" "$LIN_SIG" > release.json
"linux-x86_64": { url: $lin_url, signature: $lin_sig }
}
}' > release.json
cat release.json cat release.json