diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-10-08 18:27:07 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-10-08 18:27:07 +0000 |
commit | 023012c1aecf399df36694605e1b5ba8826ac95c (patch) | |
tree | da9218e8ce20c3826755ca48fc3686a6c6f984ac | |
parent | d72d3f92dc553fcff8db163581d6981d36fb9993 (diff) |
removed old script for making releases, pduino's a libdir now
svn path=/trunk/externals/pduino/; revision=16362
-rwxr-xr-x | make-release.sh | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/make-release.sh b/make-release.sh deleted file mode 100755 index 5d5c328..0000000 --- a/make-release.sh +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh - -if [ $# -ne 1 ]; then - echo "Usage: $0 FIRMATA_VERSION" - exit -fi - -PDUINO_VERSION=`grep version_ arduino.pd | sed 's|.*version_\(.*\);|\1|'` -FIRMATA_VERSION=$2 - -PDUINO_DIR=Pduino-${PDUINO_VERSION} -FIRMATA_DIR=Firmata-${FIRMATA_VERSION} - -mkdir /tmp/pduino-release -cd /tmp/pduino-release -svn co https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/externals/hardware/arduino $PDUINO_DIR - -cd $PDUINO_DIR -/sw/bin/svn2cl -svn co https://firmata.svn.sourceforge.net/svnroot/firmata/arduino/trunk $FIRMATA_DIR - -cd $FIRMATA_DIR -/sw/bin/svn2cl -cd .. - -#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 - -# change the versions in the HTML -sed -i "s|Firmata-[0-9][.0-9A-Za-z_-]*\.zip|${FIRMATA_DIR}.zip|g" objects.html -sed -i "s|Pduino-[0-9][.0-9A-Za-z_-]*\.zip|${PDUINO_DIR}.zip|g" objects.html - - - - - |