ratcatcher/pub.sh

9 lines
310 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
scp RatCatcher-10.*.zip rob@spider:/var/www/html/ratcatcher.nethack.net/
cd website
svn commit -m "Published new app to web site"