Explorar el Código

Add generation of README.txt

[SVN r50845]
Beman Dawes hace 17 años
padre
commit
751505eb7a
Se han modificado 2 ficheros con 16 adiciones y 10 borrados
  1. 9 6
      tools/release/snapshot_posix.bat
  2. 7 4
      tools/release/snapshot_windows.bat

+ 9 - 6
tools/release/snapshot_posix.bat

@@ -7,18 +7,21 @@ rem  See http://www.boost.org/LICENSE_1_0.txt
 
 
 echo Build a branches/release snapshot for POSIX, using LF line termination...
 echo Build a branches/release snapshot for POSIX, using LF line termination...
 
 
-echo "Removing old files..."
+echo Removing old files...
 rmdir /s /q posix >nul
 rmdir /s /q posix >nul
 rmdir /s /q svn_info >nul
 rmdir /s /q svn_info >nul
 del posix.tar.gz >nul
 del posix.tar.gz >nul
 del posix.tar.bz2 >nul
 del posix.tar.bz2 >nul
 
 
-echo "Exporting files from subversion..."
+echo Exporting files from subversion...
 rem  leave an audit trail, which is used by inspect to determine revision number
 rem  leave an audit trail, which is used by inspect to determine revision number
 svn co --depth=files http://svn.boost.org/svn/boost/branches/release svn_info
 svn co --depth=files http://svn.boost.org/svn/boost/branches/release svn_info
 svn export --non-interactive --native-eol LF http://svn.boost.org/svn/boost/branches/release posix
 svn export --non-interactive --native-eol LF http://svn.boost.org/svn/boost/branches/release posix
 
 
-echo "Building docs..."
+echo Creating release history README.txt...
+lynx -dump -nolist -display_charset=utf-8 http://beta.boost.org/users/history/minimal.php >posix\README.txt
+
+echo Copying docs into posix\doc...
 pushd posix\doc
 pushd posix\doc
 xcopy /s /y ..\..\docs_temp\html html
 xcopy /s /y ..\..\docs_temp\html html
 popd
 popd
@@ -28,7 +31,7 @@ strftime "%%Y-%%m-%%d" >date.txt
 set /p SNAPSHOT_DATE= <date.txt
 set /p SNAPSHOT_DATE= <date.txt
 echo SNAPSHOT_DATE is %SNAPSHOT_DATE%
 echo SNAPSHOT_DATE is %SNAPSHOT_DATE%
 
 
-echo "Renaming..."
+echo Renaming root directory...
 ren posix boost-posix-%SNAPSHOT_DATE%
 ren posix boost-posix-%SNAPSHOT_DATE%
 
 
 echo Building .gz file...
 echo Building .gz file...
@@ -41,7 +44,7 @@ ren boost-posix-%SNAPSHOT_DATE% posix
 echo The ftp transfer will be done in two steps because that has proved more
 echo The ftp transfer will be done in two steps because that has proved more
 echo reliable on Beman's Windows XP 64-bit system.
 echo reliable on Beman's Windows XP 64-bit system.
 
 
-echo "Creating ftp script 1 ..."
+echo Creating ftp script 1 ...
 copy user.txt posix.ftp
 copy user.txt posix.ftp
 echo dir >>posix.ftp
 echo dir >>posix.ftp
 echo binary >>posix.ftp
 echo binary >>posix.ftp
@@ -56,7 +59,7 @@ echo bye >>posix.ftp
 echo Running ftp script 1 ...
 echo Running ftp script 1 ...
 ftp -n -i -s:posix.ftp boost.cowic.de
 ftp -n -i -s:posix.ftp boost.cowic.de
 
 
-echo "Creating ftp script 2 ..."
+echo Creating ftp script 2 ...
 copy user.txt posix.ftp
 copy user.txt posix.ftp
 echo dir >>posix.ftp
 echo dir >>posix.ftp
 echo mdelete boost-posix*.bz2 >>posix.ftp
 echo mdelete boost-posix*.bz2 >>posix.ftp

+ 7 - 4
tools/release/snapshot_windows.bat

@@ -7,18 +7,21 @@ rem  See http://www.boost.org/LICENSE_1_0.txt
 
 
 echo Build a branches/release snapshot for Windows, using CRLF line termination...
 echo Build a branches/release snapshot for Windows, using CRLF line termination...
 
 
-echo "Removing old files..."
+echo Removing old files...
 rmdir /s /q windows >nul
 rmdir /s /q windows >nul
 rmdir /s /q svn_info >nul
 rmdir /s /q svn_info >nul
 del windows.7z >nul
 del windows.7z >nul
 del windows.zip >nul
 del windows.zip >nul
 
 
-echo "Exporting files from subversion..."
+echo Exporting files from subversion...
 rem  leave an audit trail, which is used by inspect to determine revision number
 rem  leave an audit trail, which is used by inspect to determine revision number
 svn co --depth=files http://svn.boost.org/svn/boost/branches/release svn_info
 svn co --depth=files http://svn.boost.org/svn/boost/branches/release svn_info
 svn export --non-interactive --native-eol CRLF http://svn.boost.org/svn/boost/branches/release windows
 svn export --non-interactive --native-eol CRLF http://svn.boost.org/svn/boost/branches/release windows
 
 
-echo "Building docs..."
+echo Creating release history README.txt...
+lynx -dump -nolist -display_charset=utf-8 http://beta.boost.org/users/history/minimal.php >windows\README.txt
+
+echo Copying docs into windows\doc...
 pushd windows\doc
 pushd windows\doc
 xcopy /s /y ..\..\docs_temp\html html
 xcopy /s /y ..\..\docs_temp\html html
 popd
 popd
@@ -28,7 +31,7 @@ strftime "%%Y-%%m-%%d" >date.txt
 set /p SNAPSHOT_DATE= <date.txt
 set /p SNAPSHOT_DATE= <date.txt
 echo SNAPSHOT_DATE is %SNAPSHOT_DATE%
 echo SNAPSHOT_DATE is %SNAPSHOT_DATE%
 
 
-echo "Renaming..."
+echo Renaming root directory...
 ren windows boost-windows-%SNAPSHOT_DATE%
 ren windows boost-windows-%SNAPSHOT_DATE%
 
 
 echo Building .7z file...
 echo Building .7z file...

粤ICP备19079148号