ratcatcher/pub.sh

10 lines
337 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-19 12:10:11 +11:00
p scp RatCatcher-10.*.zip rob@spider:/var/www/html/ratcatcher.nethack.net/
2008-12-03 09:05:17 +11:00
cp data/map.dat website/
2008-12-03 08:37:13 +11:00
cd website
svn commit -m "Published new app to web site"