ENH: Added win32_zipfile and win32_upload commands.
This commit is contained in:
parent
388d3afd23
commit
3a68f653ae
@ -23,8 +23,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
# Release version number.
|
# Release version number.
|
||||||
TAG="Release-1-6-2"
|
TAG="Release-1-6-3"
|
||||||
VERSION="1.6.2"
|
VERSION="1.6.3"
|
||||||
RELEASE="1"
|
RELEASE="1"
|
||||||
PREVIOUS_VERSION="1.4.7"
|
PREVIOUS_VERSION="1.4.7"
|
||||||
PREVIOUS_RELEASE="1"
|
PREVIOUS_RELEASE="1"
|
||||||
@ -62,7 +62,7 @@ CMake Release Script Usage:
|
|||||||
$0 [command]
|
$0 [command]
|
||||||
|
|
||||||
Typical usage:
|
Typical usage:
|
||||||
Cleanup remote host's release directory:
|
Cleanup remote host release directory:
|
||||||
|
|
||||||
$0 remote <host> clean
|
$0 remote <host> clean
|
||||||
|
|
||||||
@ -636,6 +636,31 @@ cygwin_upload()
|
|||||||
echo "---- Done copying cygwin packages to www.cmake.org. -----"
|
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.
|
# Install CMake into the OSX package directory structure.
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user