From 814776d1ff26ac772c294304752cfe77dc55fddc Mon Sep 17 00:00:00 2001 From: boban Date: Fri, 24 Apr 2026 13:20:19 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20Tags=20nach=20shallow=20clone=20explizit?= =?UTF-8?q?=20fetchen=20f=C3=BCr=20Version-Datei?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- installer.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/installer.sh b/installer.sh index 0d46922..6f87695 100644 --- a/installer.sh +++ b/installer.sh @@ -753,6 +753,7 @@ git config --global --add safe.directory "${APP_DIR}" || true # ===== Version-Datei schreiben ===== mkdir -p /var/lib/mailwolt +sudo -u "$APP_USER" -H bash -lc "git -C ${APP_DIR} fetch --tags --depth=1 origin 2>/dev/null || true" GIT_TAG="$(sudo -u "$APP_USER" -H bash -lc "git -C ${APP_DIR} describe --tags --abbrev=0 2>/dev/null || echo ''")" if [ -n "$GIT_TAG" ]; then echo "${GIT_TAG#v}" > /var/lib/mailwolt/version