You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
john2ai
committed
š fix(ci): generate updater manifests directly (tauri v2 has no latest.json)
The rewrite step searched for tauri v1-style latest.json files that v2
never emits, so all four platforms skipped manifest generation with a
silent warning. Now the manifest is built from the tag version, the
payload's .sig content, and the release download URL; Windows uses the
NSIS .exe (the v2 updater artifact), and the release guard also
requires the four updater JSONs
with open(os.path.join(out_dir, updater_json), "w") as fh:
307
-
json.dump(chosen, fh, indent=2)
301
+
json.dump(manifest, fh, indent=2)
302
+
print(f"Wrote updater manifest {updater_json} for {platform_key}")
308
303
PY
309
304
310
305
- name: Upload artifact
@@ -343,6 +338,12 @@ jobs:
343
338
exit 1
344
339
fi
345
340
done
341
+
for uj in syscity-desktop-linux-x86_64.json syscity-desktop-darwin-aarch64.json syscity-desktop-darwin-x86_64.json syscity-desktop-windows-x86_64.json; do
342
+
if [ ! -f "artifacts/$uj" ]; then
343
+
echo "::error::missing updater manifest $uj"
344
+
exit 1
345
+
fi
346
+
done
346
347
for prefix in syscity-linux-amd64 syscity-linux-arm64 syscity-macos-arm64 syscity-macos-amd64; do
347
348
if ! ls artifacts/ | grep -q "^${prefix}\.tar\.gz$"; then
0 commit comments