stb-imv/release.bat

54 lines
1.2 KiB
Batchfile
Raw Normal View History

2007-07-02 02:27:57 +04:00
@echo off
2007-06-26 05:00:05 +04:00
call version.bat
rem # Update ReleaseNotes on wiki
cd wiki
svn up
copy /b /y ..\notes_header.wiki+..\notes.txt ReleaseNotes.wiki
svn ci -m "release %VERSION%"
cd ..
rem # Make release directory
mkdir ..\stb_imv
copy vc6\release\stb_imv.exe ..\stb_imv\imv.exe
2008-06-27 13:43:40 +04:00
copy vc6\light_release\stb_imv_light.exe ..\stb_imv\imv_light.exe
2007-06-26 05:00:05 +04:00
copy readme_binary.txt+notes.txt ..\stb_imv\readme.txt
rem # Make tarball directory
mkdir ..\stb_imv_src-%VERSION%
mkdir ..\stb_imv_src-%VERSION%\vc6
2008-06-27 13:43:40 +04:00
mkdir ..\stb_imv_src-%VERSION%\vc7
2007-06-26 05:00:05 +04:00
copy vc6\stb_imv.ds? ..\stb_imv_src-%VERSION%\vc6
2008-06-27 13:43:40 +04:00
copy vc7\stb_imv.sln ..\stb_imv_src-%VERSION%\vc7
copy vc7\stb_imv.vcproj ..\stb_imv_src-%VERSION%\vc7
2007-06-29 02:57:49 +04:00
copy *.* ..\stb_imv_src-%VERSION%
2007-06-26 05:00:05 +04:00
rem #
cd ..
rem # zip release directory
del stb_imv-%VERSION%.zip
zip -r stb_imv-%VERSION%.zip stb_imv
del /q stb_imv\*
rmdir stb_imv
rem # zip tarball directory
del stb_imv_src-%VERSION%.zip
zip -r stb_imv_src-%VERSION%.zip stb_imv_src-%VERSION%
del /s /q stb_imv_src-%VERSION%\*
rmdir stb_imv_src-%VERSION%\vc6
2008-06-27 13:43:40 +04:00
rmdir stb_imv_src-%VERSION%\vc7
2007-06-26 05:00:05 +04:00
rmdir stb_imv_src-%VERSION%
rem # upload
call upload.bat
cd stb-imv