Added little script to automate deployment in Blender Animation Studio
This commit is contained in:
parent
80155ed4f4
commit
564c2589b1
13
deploy-to-shared.sh
Executable file
13
deploy-to-shared.sh
Executable 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
|
Reference in New Issue
Block a user