Added little script to automate deployment in Blender Animation Studio

This commit is contained in:
Sybren A. Stüvel 2018-11-16 16:54:36 +01:00
parent 80155ed4f4
commit 564c2589b1

13
deploy-to-shared.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/bash -e
FULLNAME="$(python3 setup.py --fullname)"
echo "Press [ENTER] to deploy $FULLNAME to /shared"
read dummy
./clear_wheels.sh
python3 setup.py wheels bdist
DISTDIR=$(pwd)/dist
cd /shared/software/addons
rm -vf blender_cloud/wheels/*.whl # remove obsolete wheel files
unzip $DISTDIR/$FULLNAME.addon.zip