mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-22 09:33:52 +08:00
* casync in jenkins * rename some stuff, add a readme * slightly better names * clean * more cleanup * cleaner * release3 staging too * always rm the signed version * cleanups * in build dir * better name * simpler * more * divider * built * build * and contains * add channel description * and git branches * and build required * move this up * these are terms * updates * 3/3x * bullets * wording * version metadata * git type * more channel -> release * more build * just release * more channel to release * also fix jenkins * use build_metadata * fix normailzed * also normalized * and here * use build_metadata * dont commit that * don't touch the git stuff * branch * don't need that * or that * improved names * build_metadata * use this instead * fix * build * test nightly build again * fix * fixes * Revert "test nightly build again" This reverts commit be5e7aa7089bfc0947c9b2b484d0277c109ee089.
22 lines
528 B
Bash
Executable File
22 lines
528 B
Bash
Executable File
#!/usr/bin/bash
|
|
|
|
set -ex
|
|
|
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
|
|
|
|
CASYNC_DIR="${CASYNC_DIR:=/tmp/casync}"
|
|
SOURCE_DIR="$(git -C $DIR rev-parse --show-toplevel)"
|
|
BUILD_DIR="${BUILD_DIR:=$(mktemp -d)}"
|
|
|
|
echo "Creating casync release from $SOURCE_DIR to $CASYNC_DIR"
|
|
|
|
mkdir -p $CASYNC_DIR
|
|
rm -rf $BUILD_DIR
|
|
mkdir -p $BUILD_DIR
|
|
|
|
release/copy_build_files.sh $SOURCE_DIR $BUILD_DIR
|
|
release/create_prebuilt.sh $BUILD_DIR
|
|
|
|
cd $SOURCE_DIR
|
|
release/create_casync_release.py $BUILD_DIR $CASYNC_DIR $OPENPILOT_CHANNEL
|