mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-20 05:22:03 +08:00
100f89a161
* openpilot v0.9.9 release date: 2025-06-05T19:54:08 master commit: 8aadf02b2fd91f4e1285e18c2c7feb32d93b66f5 * AGNOS 12.4 (#35558) agnos12.4 --------- Co-authored-by: Vehicle Researcher <user@comma.ai> Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
23 lines
555 B
Bash
Executable File
23 lines
555 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
|
|
export CERT=/home/batman/xx/pandaextra/certs/release
|
|
|
|
if [ ! -f "$CERT" ]; then
|
|
echo "No release cert found, cannot build release."
|
|
echo "You probably aren't looking to do this anyway."
|
|
exit
|
|
fi
|
|
|
|
export RELEASE=1
|
|
export BUILDER=DEV
|
|
|
|
cd $DIR/../board
|
|
scons -u -c
|
|
rm obj/*
|
|
scons -u
|
|
cd obj
|
|
RELEASE_NAME=$(awk '{print $1}' version)
|
|
zip -j ../../release/panda-$RELEASE_NAME.zip version panda.bin.signed bootstub.panda.bin panda_h7.bin.signed bootstub.panda_h7.bin
|