Files
duffyduckandClaude Opus 5.5 298c142c14 Bauen und Releases ohne lokale Abhaengigkeiten ueber ./build.sh
- build.sh (release, build, test) startet einen temporaeren Runner-Container
  (Python, Git, Docker-CLI), der die Build-Container ueber den Docker-Socket startet
- release.py: Quellexport unter releases/ statt /tmp (Host-Pfade fuer Bind-Mounts),
  Test-Befehl in Docker, Git-Identitaet vorab pruefen, bei Commit-Fehler Versionen zuruecknehmen
- Android-Build-Image enthaelt Platform-Tools fest

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 15:41:45 +02:00

13 lines
650 B
Bash
Executable File

#!/bin/sh
set -e
rm -rf /work && mkdir -p /work && cp -r /src/client-desktop /work/
cd /work/client-desktop && rm -rf build dist netclip/__pycache__
wine python -m pip install -q -r requirements.txt -c Z:/usr/local/bin/windows-constraints.txt
wine python -m PyInstaller --noconfirm --clean netclip.spec
ISCC=$(find /opt/wineprefix/drive_c -iname ISCC.exe | head -1)
(cd packaging && xvfb-run -a wine "$ISCC" /Q windows-installer.iss)
cp dist/NetClip-Setup-*.exe "/out/NetClip-${VERSION}-windows-setup.exe"
(cd dist && zip -qr "/out/NetClip-${VERSION}-windows-portable.zip" NetClip)
wineserver -w || true
chown -R "${HOST_UID:-0}:${HOST_GID:-0}" /out