Don't rename parent folder, create wheel at end of process.

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
Matthew Stidham
2021-11-04 13:29:49 -07:00
parent ee120b43e2
commit 8340b0419e

View File

@@ -34,10 +34,6 @@ while getopts ":h:a:t:" option; do
;;
esac
done
#Rename repository so it can be imported as a package
cd ..
mv lanforge-scripts lanforge_scripts
cd lanforge_scripts
mv py-scripts/ py_scripts
mv py-json/ py_json
@@ -443,8 +439,9 @@ if [[ $ARCHIVE -eq 1 ]]; then
rm speedtest-cli
rm WlanPro.desktop
mv wifi_diag lanforge_scripts
tar -zcvf ${TARGET_DIR}/lanforge_scripts.tar.gz *
zip ${TARGET_DIR}/lanforge_scripts.zip *
#tar -zcvf ${TARGET_DIR}/lanforge_scripts.tar.gz *
#zip ${TARGET_DIR}/lanforge_scripts.zip *
python3 -m build --wheel
else
echo "Not saving archive"
fi