diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-11-22 23:46:04 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-11-22 23:46:04 +0000 |
commit | 0c024eeffd72086b07a29bd64bc0177c2017487c (patch) | |
tree | 83a80c5c2a9c9771f2566bd8c1ece4e8bec4c192 /win/upload_release.bat | |
parent | 11d0ad57d5f76e055f75940b18e03a4cf20b629b (diff) |
I have managed to do this without giving away any hostnames or usernames, so this is secure enough to be part of subversion. still wont release unless you have the correctly named winscp and putty profiles set to the right places, though
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10813 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'win/upload_release.bat')
-rw-r--r-- | win/upload_release.bat | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/win/upload_release.bat b/win/upload_release.bat new file mode 100644 index 000000000..0086fb377 --- /dev/null +++ b/win/upload_release.bat @@ -0,0 +1,12 @@ +@echo off
+
+echo release/makereleasetrunk.sh %2 > remote.txt
+start "Linux build" "c:\Program Files\PuTTY\putty.exe" -load "inspircd release" -m remote.txt
+
+echo option batch on > upload.scp
+echo option confirm off >> upload.scp
+echo put -speed=4 -nopermissions -preservetime %1 /usr/home/inspircd/www/downloads/ >> upload.scp
+echo exit >> upload.scp
+"c:\program files\winscp\winscp.com" "inspircd release" /script=upload.scp
+
+@echo on
|