Files
CollabTable/shared/.githooks/post-commit
T
Gabriel20xx 6aec03fb3d
Lint / Lint (push) Successful in 31s
Tests / Go backend (push) Successful in 45s
Tests / Dashboard checks (push) Successful in 50s
Docker / Docker Build & Push (push) Successful in 5m9s
feat: store thumbnails in project mounts with legacy fallback
- Add thumbnail upload, lookup, deletion, and scratch-fetch helpers
- Distinguish missing mounts from other listing failures
2026-10-15 13:56:24 +00:00

15 lines
491 B
Bash
Executable File

#!/bin/sh
set -euo pipefail
repo_root="$(git rev-parse --show-toplevel)"
sync_script="$repo_root/scripts/sync-consumers.ps1"
if command -v pwsh >/dev/null 2>&1; then
pwsh -NoProfile -NonInteractive -ExecutionPolicy Bypass -File "$sync_script" -Commit
elif command -v powershell.exe >/dev/null 2>&1; then
powershell.exe -NoProfile -NonInteractive -ExecutionPolicy Bypass -File "$sync_script" -Commit
else
echo "shared synchronization requires pwsh or powershell.exe." >&2
exit 1
fi