diff options
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
|