aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-08-17 17:02:20 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-08-17 17:02:20 +0000
commit83c34970e4d089344536366e04cd653fa0154f3e (patch)
treec5da97f5c43ca05075dcd4186e854c393a490d72
parent5bd2b9c2777184c99346184c3ebb64ea05b50a0b (diff)
quick script to automate making releases
svn path=/trunk/externals/hardware/arduino/; revision=11932
-rwxr-xr-xmake-release.sh35
1 files changed, 35 insertions, 0 deletions
diff --git a/make-release.sh b/make-release.sh
new file mode 100755
index 0000000..97945f2
--- /dev/null
+++ b/make-release.sh
@@ -0,0 +1,35 @@
+#!/bin/sh
+
+PDUINO_VERSION=$1
+FIRMATA_VERSION=$2
+
+PDUINO_DIR=Pduino-${PDUINO_VERSION}
+FIRMATA_DIR=Firmata-${FIRMATA_VERSION}
+
+cd /tmp
+mkdir pduino-release
+cd pduino-release
+svn co https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/externals/hardware/arduino $PDUINO_DIR
+
+cd $PDUINO_DIR
+svn co https://firmata.svn.sourceforge.net/svnroot/firmata/arduino/trunk $FIRMATA_DIR
+
+#remove cruft
+find . -name .DS_Store -delete
+find . -name .svn -print0 | xargs -0 rm -r
+rm -rf PICduino examples arduino-stress-test.pd
+
+zip -9r ../${FIRMATA_DIR}.zip $FIRMATA_DIR
+cd ..
+zip -9r ${PDUINO_DIR}.zip $PDUINO_DIR
+
+# add to CVS for my website
+cp -a ${FIRMATA_DIR}.zip ${PDUINO_DIR}.zip ~/code/works/pd/
+cd ~/code/works/pd
+cvs add ${FIRMATA_DIR}.zip ${PDUINO_DIR}.zip
+
+
+
+
+
+