dokploy/.watch/check.sh
Guillaume Juge 7e9fdbb5ff Merge canary and regenerate the migration after Infomaniak landed
#5257 merged, so canary now carries the Infomaniak provider and its
0191_cool_christian_walker. This branch's 0191_elite_ultragirl collided on the
number, and the conflicts were the usual "infomaniak and ovh added at the same
spot" across the enum, the config union, the client registry, SENSITIVE_FIELDS,
both providerLabels maps, the icons and the provider form — all resolved by
keeping both.

Regenerated as 0192_light_lake with a current timestamp rather than renaming the
file, so drizzle still applies it on a database that has already run canary's
0191.
2026-09-05 11:21:50 +02:00

13 lines
470 B
Bash
Executable File

#!/bin/bash
# Un seul instantané sert à la fois au diff ET à la baseline : rien ne peut être
# absorbé silencieusement entre les deux.
cd "$(dirname "$0")/.."
./.watch/snapshot.sh > /tmp/watch-now.txt 2>&1
if diff -q .watch/baseline.txt /tmp/watch-now.txt >/dev/null; then
echo "aucun changement"
else
echo "=== DIFF ==="
diff .watch/baseline.txt /tmp/watch-now.txt
cp /tmp/watch-now.txt .watch/baseline.txt # exactement le fichier qui a servi au diff
fi