feat(release): add root-level flash_release.sh shortcut
Offline project checks / check (push) Canceled after 0s

This commit is contained in:
shenlei
2026-11-12 15:26:39 +09:00
parent 530a3690da
commit a3d9b157ac
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# ==============================================================================
# Flash latest release firmware to Xiaomi Mi 8 Lite (platina)
# ==============================================================================
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
RELEASE_DIR="$SCRIPT_DIR/artifacts/release-v0.8.1-bulletproof"
if [[ ! -d "$RELEASE_DIR" ]]; then
echo "ERROR: Release directory '$RELEASE_DIR' not found!"
exit 1
fi
exec "$RELEASE_DIR/flash.sh" "$@"