ratcatcher/pub.sh

10 lines
337 B
Bash
Executable File

#!/bin/sh
VER=`./getsvnrev.sh`
echo "<script language=\"php\">" >website/currentrev.php
echo "echo \"$VER\"; " >>website/currentrev.php
echo "</script>" >>website/currentrev.php
p scp RatCatcher-10.*.zip rob@spider:/var/www/html/ratcatcher.nethack.net/
cp data/map.dat website/
cd website
svn commit -m "Published new app to web site"