More mods to publishing script

This commit is contained in:
Rob Pearce 2008-12-02 21:37:13 +00:00
parent b8cd2eceab
commit 226bb32afe
1 changed files with 3 additions and 1 deletions

4
pub.sh
View File

@ -1,5 +1,7 @@
#!/bin/sh
scp RatCatcher-10.*.zip rob@spider:/var/www/html/ratcatcher.nethack.net/
echo "<script language=\"php\">" >website/currentrev.php
./getsvnrev.sh >>website/currentrev.php
echo "</script>" >>website/currentrev.php
scp RatCatcher-10.*.zip rob@spider:/var/www/html/ratcatcher.nethack.net/
cd website
svn commit -m "Published new app to web site"