From 32a53ba2fd250497009fc286f329f544321476ee Mon Sep 17 00:00:00 2001 From: j4n Date: Tue, 24 Feb 2026 13:51:06 +0100 Subject: [PATCH] docker: restore chatmail-version to fix tests --- docker/files/chatmail-init.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/files/chatmail-init.sh b/docker/files/chatmail-init.sh index 2242c99d..8c7f8689 100755 --- a/docker/files/chatmail-init.sh +++ b/docker/files/chatmail-init.sh @@ -64,6 +64,9 @@ else SKIP_DNS="--skip-dns-check" fi $CMDEPLOY run --config "$CHATMAIL_INI" --ssh-host @local $SKIP_DNS + # GithashDeployer overwrites /etc/chatmail-version with "unknown" because + # .git/ is excluded from the image; restore the build-time hash. + cp /etc/chatmail-image-version /etc/chatmail-version echo "$current_fp" > "$FINGERPRINT_FILE" fi