ratcatcher/pub.sh

9 lines
310 B
Bash
Raw Normal View History

2008-12-03 08:35:27 +11:00
#!/bin/sh
2008-12-03 08:39:55 +11:00
VER=`./getsvnrev.sh`
2008-12-03 08:35:27 +11:00
echo "<script language=\"php\">" >website/currentrev.php
2008-12-03 08:39:55 +11:00
echo "echo \"$VER\"; " >>website/currentrev.php
2008-12-03 08:35:27 +11:00
echo "</script>" >>website/currentrev.php
2008-12-03 08:37:13 +11:00
scp RatCatcher-10.*.zip rob@spider:/var/www/html/ratcatcher.nethack.net/
cd website
svn commit -m "Published new app to web site"