summaryrefslogtreecommitdiff
path: root/win/upload_release.bat
blob: 0086fb377ff918081e4b2486f66c9db1ea340290 (plain)
1
2
3
4
5
6
7
8
9
10
11
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