Files
landwelle/scripts/build-migrator-pi.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

17 lines
440 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "$ROOT"
mkdir -p dist
# Migrationen sollen auch auf älteren, noch nicht aktualisierten Servern baubar bleiben.
go mod tidy
go mod download
go mod verify
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 \
go build -trimpath -ldflags="-s -w" \
-o dist/landwelle-migrate-linux-arm64 ./cmd/migrate
echo "Erstellt: dist/landwelle-migrate-linux-arm64"