feat(release): add root-level flash_release.sh shortcut
Offline project checks / check (push) Canceled after 0s
Offline project checks / check (push) Canceled after 0s
This commit is contained in:
Executable
+15
@@ -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" "$@"
|
||||
Reference in New Issue
Block a user