-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathprepare_release.sh
More file actions
executable file
·18 lines (18 loc) · 1001 Bytes
/
prepare_release.sh
File metadata and controls
executable file
·18 lines (18 loc) · 1001 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env bash
set -euo pipefail
ROOT="$(cd "$(dirname "$0")" && pwd)"
cd "$ROOT"
VER="$(python3 -c "from app import __version__; print(__version__)")"
echo "EncodeForge ${VER}"
echo ""
echo "1) Install build deps: pip install -r requirements.txt && pip install nuitka ordered-set zstandard"
echo "2) Compile: python3 build_nuitka.py"
echo " Windows single .exe: NUITKA_ONEFILE=1 python3 build_nuitka.py (then step 3)"
echo "3) Platform installers (outputs under dist-packages/):"
echo " macOS: export CODESIGN_IDENTITY='Developer ID Application: … (TEAM_ID)'"
echo " ./packaging/macos/build-release-macos.sh"
echo " Linux: ./packaging/linux/build-deb-rpm.sh && ./packaging/linux/build-appimage.sh"
echo " Windows: powershell -File packaging/windows/package-zip.ps1"
echo ""
echo "Linux extras: gem install fpm (deb/rpm); appimagetool on PATH (AppImage)."
echo "macOS: optional NOTARY_PROFILE (default AC_PASSWORD); same flow as eci-cleaner (notarytool store-credentials)."