make sure release script removes old dotfiles

pull/1078/head
Willem Melching 2020-02-11 10:13:21 -08:00
parent 1a1f1182d7
commit c4ed49f082
1 changed files with 3 additions and 0 deletions

View File

@ -66,6 +66,9 @@ add_subtree "openpilot-pyextra" "pyextra" master
echo "[-] erasing old openpilot T=$SECONDS"
rm -rf $TARGET_DIR/* $TARGET_DIR/.gitmodules
# delete dotfiles in root
find . -maxdepth 1 -type f -delete
# dont delete our subtrees
git checkout -- cereal panda opendbc pyextra