fix(ci): single-line python3 in update-manifest to avoid YAML block scalar truncation
Build Lotus Chat Desktop / build-linux (push) Successful in 23m56s
Build Lotus Chat Desktop / build-windows (push) Successful in 28m35s
Build Lotus Chat Desktop / update-manifest (push) Successful in 3s

Zero-indented lines inside run: | terminate the block early.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-10 11:57:10 -04:00
parent c151c2936c
commit 2f55bb3f6d
+5 -13
View File
@@ -189,19 +189,11 @@ jobs:
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)
python3 -c "
import json, sys
win_sig, lin_sig = sys.argv[1], sys.argv[2]
print(json.dumps({
'version': '$VERSION',
'notes': 'Latest Lotus Chat release',
'pub_date': '$DATE',
'platforms': {
'windows-x86_64': {'url': '$BASE/LotusChat-x86_64-setup.nsis.zip', 'signature': win_sig},
'linux-x86_64': {'url': '$BASE/LotusChat-x86_64.AppImage.tar.gz', 'signature': lin_sig}
}
}, indent=2))
" "$WIN_SIG" "$LIN_SIG" > release.json
python3 -c "import json,sys; v,d,wu,ws,lu,ls=sys.argv[1:]; print(json.dumps({'version':v,'notes':'Latest Lotus Chat release','pub_date':d,'platforms':{'windows-x86_64':{'url':wu,'signature':ws},'linux-x86_64':{'url':lu,'signature':ls}}},indent=2))" \
"$VERSION" "$DATE" \
"$BASE/LotusChat-x86_64-setup.nsis.zip" "$WIN_SIG" \
"$BASE/LotusChat-x86_64.AppImage.tar.gz" "$LIN_SIG" \
> release.json
cat release.json