add script for releasing patched source archives

This commit is contained in:
berkeviktor@aol.com 2010-11-13 08:31:41 +01:00
parent 1ce4bd05f2
commit 3714f26e08
1 changed files with 14 additions and 0 deletions

14
build/release-src.bat Normal file
View File

@ -0,0 +1,14 @@
@echo off
set PATH=%PATH%;%PROGRAMW6432%\7-Zip;%PROGRAMW6432%\TortoiseSVN\bin;%PROGRAMFILES(X86)%\TortoiseHg
hg clone https://xchat-wdk.googlecode.com/hg/ xchat-wdk
rmdir /q /s xchat-wdk\.hg
TortoiseProc /closeonend:0 /notempfile /command:export /url:https://xchat.svn.sourceforge.net/svnroot/xchat /path:xchat-wdk-svn
rm xchat-wdk-svn\COPYING
xcopy /E xchat-wdk-svn xchat-wdk
rmdir /q /s xchat-wdk-svn
cd xchat-wdk
patch -i xchat-wdk.patch -p1
cd ..
7z a xchat-wdk-tip.7z xchat-wdk
rmdir /q /s xchat-wdk
pause