From 564c2589b12a753489c9c39b0b1ff8852c4b1f33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 16 Nov 2018 16:54:36 +0100 Subject: [PATCH] Added little script to automate deployment in Blender Animation Studio --- deploy-to-shared.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 deploy-to-shared.sh diff --git a/deploy-to-shared.sh b/deploy-to-shared.sh new file mode 100755 index 0000000..956e14b --- /dev/null +++ b/deploy-to-shared.sh @@ -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