Group all previously unreleased changes under Build a1108 / dejavu, update README, MANUAL, AGENTS and battery analysis for the current release, add release codename support to scripts/version.sh and check-rebuild.sh, update os-release/issue/motd templates including usr/lib/os-release, rebuild the image under a1108, and deploy the same release metadata to the live phone.
17 lines
531 B
Bash
Executable File
17 lines
531 B
Bash
Executable File
#!/bin/sh
|
|
# Release archive builder for Bananarchy
|
|
set -eu
|
|
|
|
BA_TARGET="${1:-nokia-argon}"
|
|
BA_VER="$(./scripts/version.sh --print)"
|
|
BA_CODENAME="$(./scripts/version.sh --print-codename)"
|
|
RELDIR="bananarchy-${BA_TARGET}-${BA_VER}-${BA_CODENAME}"
|
|
|
|
./rebuild-image.sh "$BA_TARGET" --mkinitfs
|
|
mkdir -p "$RELDIR"
|
|
cp "images/bananarchy-${BA_TARGET}.img" "$RELDIR/"
|
|
cp bootloader/lk2nd-msm8909.img "$RELDIR/"
|
|
zip -9r "${RELDIR}.zip" "$RELDIR"
|
|
rm -rf "$RELDIR"
|
|
echo "Release $BA_VER ($BA_CODENAME) for $BA_TARGET packed into ${RELDIR}.zip"
|