ci, install: update workflows, packaging scripts, and installer suite
Nightly Build / build (push) Successful in 6m43s

Nightly/release workflows: matrix tweaks, artifact path fixes.
Package-macos: streamline dmg build, codesigning improvements.
Install scripts: rewrite install.sh and install-nightly.sh with
robust error handling, add uninstall.sh, overhaul update.sh.
This commit is contained in:
2026-07-22 15:11:17 +01:00
parent 4dddc7d2ab
commit 8407a949fc
8 changed files with 396 additions and 120 deletions
+11 -3
View File
@@ -52,7 +52,15 @@ jobs:
- name: Deploy to builds.skaldagent.net
run: |
cd "${GITHUB_WORKSPACE:-.}"
mkdir -p /var/www/builds.skaldagent.net/nightly
cp dist/*.tar.gz /var/www/builds.skaldagent.net/nightly/
DEST=/var/www/builds.skaldagent.net/nightly
mkdir -p "$DEST"
# Nightly reuses a fixed filename, so publish atomically: copy to a
# temp name on the same filesystem, then rename over the target. A
# concurrent download never sees a half-written tarball.
for f in dist/*.tar.gz; do
name="$(basename "$f")"
cp "$f" "$DEST/.$name.tmp"
mv -f "$DEST/.$name.tmp" "$DEST/$name"
done
echo "[nightly] Deployed:"
ls -lh /var/www/builds.skaldagent.net/nightly/
ls -lh "$DEST/"