Browse Subversion Repository
Diff of /trunk/installer/release.bat
Parent Directory
| Revision Log
| Patch
| 99 |
|
|
| 100 |
setlocal |
setlocal |
| 101 |
cd /d %CUR% |
cd /d %CUR% |
| 102 |
set TT_VERSION= |
call ..\buildtools\svnrev\svnrev.bat |
| 103 |
for /f "delims=" %%i in ('perl issversion.pl') do @set TT_VERSION=%%i |
call ..\buildtools\svnrev\sourcetree_info.bat |
| 104 |
|
|
| 105 |
if "%RELEASE%" == "1" ( |
if "%RELEASE%" == "1" ( |
| 106 |
call build.bat rebuild |
call build.bat rebuild |
| 111 |
) else ( |
) else ( |
| 112 |
call makearchive.bat |
call makearchive.bat |
| 113 |
) |
) |
| 114 |
if not exist Output mkdir Output |
call iscc.bat |
|
set SNAPSHOT_PORTABLE_OUTPUT="teraterm-%TT_VERSION%-r%SVNVERSION%-%DATE%_%TIME%-%USERNAME%-snapshot" |
|
|
if "%RELEASE%" == "1" ( |
|
|
pushd Output |
|
|
%CMAKE% -E tar cf teraterm-%TT_VERSION%.zip --format=zip teraterm-%TT_VERSION%/ |
|
|
%CMAKE% -E tar cf teraterm-%TT_VERSION%_pdb.zip --format=zip teraterm-%TT_VERSION%_pdb/ |
|
|
popd |
|
|
set INNO_SETUP_OPT_VERSION= |
|
|
set INNO_SETUP_OPT_OUTPUT= |
|
|
) else ( |
|
|
%CMAKE% -E rename snapshot-%DATE%_%TIME% %SNAPSHOT_PORTABLE_OUTPUT% |
|
|
%CMAKE% -E rename snapshot-%DATE%_%TIME%_pdb %SNAPSHOT_PORTABLE_OUTPUT%_pdb |
|
|
%CMAKE% -E tar cf Output/%SNAPSHOT_PORTABLE_OUTPUT%.zip --format=zip %SNAPSHOT_PORTABLE_OUTPUT% |
|
|
%CMAKE% -E tar cf Output/%SNAPSHOT_PORTABLE_OUTPUT%_pdb.zip --format=zip %SNAPSHOT_PORTABLE_OUTPUT%_pdb |
|
|
%CMAKE% -E rename %SNAPSHOT_PORTABLE_OUTPUT% snapshot-%DATE%_%TIME% |
|
|
%CMAKE% -E rename %SNAPSHOT_PORTABLE_OUTPUT%_pdb snapshot-%DATE%_%TIME%_pdb |
|
|
set INNO_SETUP_OPT_VERSION="/DVerSubStr=r%SVNVERSION%-%DATE%_%TIME%" |
|
|
set INNO_SETUP_OPT_OUTPUT="/DOutputSubStr=r%SVNVERSION%-%DATE%_%TIME%-%USERNAME%-snapshot" |
|
|
) |
|
|
%INNO_SETUP% %INNO_SETUP_OPT_VERSION% %INNO_SETUP_OPT_OUTPUT% teraterm.iss |
|
| 115 |
|
|
| 116 |
endlocal |
endlocal |
| 117 |
exit /b 0 |
exit /b 0 |
|
|
Legend:
| Removed from v.10578 |
|
| changed lines |
| |
Added in v.10580 |
|
|
|