diff options
author | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-11-13 08:31:41 +0100 |
---|---|---|
committer | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-11-13 08:31:41 +0100 |
commit | 3714f26e08b8b114f7bdb6873d1d4cf458415510 (patch) | |
tree | bc69932b7e53abb8021a905057fca30712882164 | |
parent | 1ce4bd05f2d2fde16c687f13f728db8f638d7dd7 (diff) |
add script for releasing patched source archives
-rw-r--r-- | build/release-src.bat | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/build/release-src.bat b/build/release-src.bat new file mode 100644 index 00000000..22b4063b --- /dev/null +++ b/build/release-src.bat @@ -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 |