diff options
Diffstat (limited to 'tools/release/snapshot.bat')
-rw-r--r-- | tools/release/snapshot.bat | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/tools/release/snapshot.bat b/tools/release/snapshot.bat new file mode 100644 index 0000000000..5029e3d73b --- /dev/null +++ b/tools/release/snapshot.bat @@ -0,0 +1,39 @@ +@echo off +rem Run POSIX and Windows snapshots and inspection + +rem Copyright 2008 Beman Dawes + +rem Distributed under the Boost Software License, Version 1.0. +rem See http://www.boost.org/LICENSE_1_0.txt + +rem Must be run in a directory devoted to boost release snapshots + +echo Remove residue from prior runs... +rem rmdir commands seem to finish before the deletes are necessarily complete. +rem This can occasionally cause subsequent commands to fail because they expect +rem the directory to be gone or empty. snapshot_posix and snapshot_windows +rem are affected. Fix is to run rmdir here so that deletes are complete +rem by the time snapshots are run. +rmdir /s /q posix >nul +rmdir /s /q windows >nul +time /t + +echo Using %BOOST_TRUNK% as boost trunk +time /t +pushd %BOOST_TRUNK% +echo Running svn cleanup on %BOOST_TRUNK% +svn --non-interactive --trust-server-cert cleanup +echo Running svn update on %BOOST_TRUNK% +svn --non-interactive --trust-server-cert up +popd +call %BOOST_TRUNK%\tools\release\revision_number.bat +time /t +call %BOOST_TRUNK%\tools\release\snapshot_download_docs.bat +time /t +call %BOOST_TRUNK%\tools\release\snapshot_posix.bat +time /t +call %BOOST_TRUNK%\tools\release\snapshot_windows.bat +time /t +call %BOOST_TRUNK%\tools\release\snapshot_inspection.bat +time /t +echo Revision %BOOST_REVISION_NUMBER% snapshot complete |