fix(ci): single-line python3 in update-manifest to avoid YAML block scalar truncation
Zero-indented lines inside run: | terminate the block early. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -189,19 +189,11 @@ 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)
|
||||||
|
|
||||||
python3 -c "
|
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))" \
|
||||||
import json, sys
|
"$VERSION" "$DATE" \
|
||||||
win_sig, lin_sig = sys.argv[1], sys.argv[2]
|
"$BASE/LotusChat-x86_64-setup.nsis.zip" "$WIN_SIG" \
|
||||||
print(json.dumps({
|
"$BASE/LotusChat-x86_64.AppImage.tar.gz" "$LIN_SIG" \
|
||||||
'version': '$VERSION',
|
> release.json
|
||||||
'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
|
|
||||||
|
|
||||||
cat release.json
|
cat release.json
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user