Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/installer/release.bat

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 10578 by zmatsuo, Sat Feb 4 13:23:48 2023 UTC revision 10580 by zmatsuo, Sun Feb 5 15:34:47 2023 UTC
# Line 99  rem #################### Line 99  rem ####################
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
# Line 111  if "%RELEASE%" == "1" ( Line 111  if "%RELEASE%" == "1" (
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

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26