From 3a68f653aee44e78c952c5b150da3f69c426871b Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 5 Feb 2003 16:56:26 -0500 Subject: [PATCH] ENH: Added win32_zipfile and win32_upload commands. --- Utilities/Release/cmake_release.sh | 31 +++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/Utilities/Release/cmake_release.sh b/Utilities/Release/cmake_release.sh index 889381607..48da74e18 100755 --- a/Utilities/Release/cmake_release.sh +++ b/Utilities/Release/cmake_release.sh @@ -23,8 +23,8 @@ # # Release version number. -TAG="Release-1-6-2" -VERSION="1.6.2" +TAG="Release-1-6-3" +VERSION="1.6.3" RELEASE="1" PREVIOUS_VERSION="1.4.7" PREVIOUS_RELEASE="1" @@ -62,7 +62,7 @@ CMake Release Script Usage: $0 [command] Typical usage: - Cleanup remote host's release directory: + Cleanup remote host release directory: $0 remote clean @@ -636,6 +636,31 @@ cygwin_upload() echo "---- Done copying cygwin packages to www.cmake.org. -----" } +#----------------------------------------------------------------------------- +win32_zipfile() +{ + setup || return 1 + echo "Creating windows non-admin install zip file ..." && + ( + mkdir -p Win32 && + cd "c:/Program Files" && + rm -rf cmake-${VERSION}-x86-win.zip && + zip -r cmake-${VERSION}-x86-win.zip CMake \ + -x CMake/INSTALL.LOG -x CMake/UNWISE.EXE -x CMake/WiseUpdt.exe && + mv cmake-${VERSION}-x86-win.zip ${RELEASE_ROOT}/Win32 && + ) >Logs/win32_zipfile.log 2>&1 || error_log Logs/win32_zipfile.log +} + +#----------------------------------------------------------------------------- +win32_upload() +{ + setup || return 1 + echo "------- Copying windows zip file to www.cmake.org. -------" + scp Win32/cmake-${VERSION}-x86-win.zip \ + kitware@www.cmake.org:/projects/FTP/pub/cmake + echo "---- Done copying windows zip file to www.cmake.org. -----" +} + #----------------------------------------------------------------------------- # Install CMake into the OSX package directory structure. #