summaryrefslogtreecommitdiff
path: root/win/upload_release.bat
blob: 0b0157b67a29434f8cb94ce02cf69256519d191e (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
start "File upload" "c:\program files\winscp\winscp.com" "inspircd release" /script=upload.scp

@echo on