fix a change name bug
[irbot.git] / makebuild.sh
blob16644c0c291b0d425cea19188a547f01bf608688
1 #!/bin/sh
3 version=$1
5 if [ "$version" = "" ]; then
6 echo "No version given"
7 exit 1
8 fi
10 svn export http://svn2.assembla.com/svn/irbot/trunk/ irbot-${version}
11 cd irbot-${version}
12 sh release-cleanup.sh
13 svn import http://svn2.assembla.com/svn/irbot/tags/version-${version} -m "-- Release ${version} --" --no-auto-props
14 cd ..
16 tar zcf irbot-${version}.tar.gz irbot-${version}
17 mv irbot-${version} irbot
18 zip -r irbot-${version}.zip irbot
19 md5sum irbot-${version}.*
20 rm -rf irbot