Files
landwelle/scripts/verify-release-source.sh
T
Landwelle Server 672c6c9606
Landwelle CI / Linux x64 container build and smoke test (push) Failing after 37s
Landwelle CI / JavaScript and deployment-script checks (push) Successful in 39s
Landwelle GitHub source ZIP / source-zip (push) Successful in 43s
Landwelle CI / Linux x64 production build (push) Successful in 1m4s
Landwelle CI / Go tests and vet (push) Successful in 2m36s
sync: Landwelle v1.5.82 source and media gallery favorites
Synchronize validated production source; preserve admin highlights, seasons, cron fixes and media favorites. Remove obsolete Firebase, IT-app and Niedersachsen Hub regression tests, keeping current feature tests.
2026-12-03 02:30:15 +01:00

15 lines
704 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
# zip -d/overwrite does not remove old source files. Prevent accidental mixing
# of the removed Firebase/App modules and the archived destination.one importer.
for rel in firebase_push.go app_api.go admin_push.go firebase_push_stub.go destination_one.go; do
if [[ -e "$ROOT_DIR/$rel" ]]; then
printf 'Build abgebrochen: veraltete Go-Datei im Quellverzeichnis: %s\n' "$rel" >&2
printf 'Diese Version benötigt ein frisches Quellverzeichnis. Alte Dateien NICHT überschreiben!\n' >&2
exit 1
fi
done
printf 'Quellstand geprüft: keine veralteten Firebase-, App- oder Hub-Module vorhanden.\n'