summaryrefslogtreecommitdiffstats
path: root/Utilities/Release/release_cmake.sh.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-03-03 19:34:58 (GMT)
committerBrad King <brad.king@kitware.com>2017-03-03 20:03:00 (GMT)
commit9a1ee04dd5b7da3bda7159500b3eeda16ee86fb0 (patch)
treef8132140a3398cb1ca622dd1a5d12d522272324b /Utilities/Release/release_cmake.sh.in
parente7e939058d568a7aac9952386057fc869c240a9e (diff)
downloadCMake-9a1ee04dd5b7da3bda7159500b3eeda16ee86fb0.zip
CMake-9a1ee04dd5b7da3bda7159500b3eeda16ee86fb0.tar.gz
CMake-9a1ee04dd5b7da3bda7159500b3eeda16ee86fb0.tar.bz2
Utilities/Release: Fetch from gitlab.kitware.com repository
Update our release scripts to fetch from the gitlab.kitware.com repository instead of the cmake.org repository. Revise our mapping of special branch names to account for the refs that now store them in the new repository.
Diffstat (limited to 'Utilities/Release/release_cmake.sh.in')
-rwxr-xr-xUtilities/Release/release_cmake.sh.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/Utilities/Release/release_cmake.sh.in b/Utilities/Release/release_cmake.sh.in
index 1465129..f363b3d 100755
--- a/Utilities/Release/release_cmake.sh.in
+++ b/Utilities/Release/release_cmake.sh.in
@@ -94,13 +94,15 @@ cd @CMAKE_RELEASE_DIRECTORY@
if [ ! -z "@GIT_COMMAND@" ]; then
# clone the repo without creating any source files in the directory
# matching the branch being built (i.e. master CMake-2-8, etc)
- @GIT_COMMAND@ clone -n git://cmake.org/cmake.git @CMAKE_CREATE_VERSION@
- check_exit_value $? "Checkout git cmake source" || exit 1
+ @GIT_COMMAND@ clone -n https://gitlab.kitware.com/cmake/cmake.git @CMAKE_CREATE_VERSION@
+ check_exit_value $? "git clone cmake source" || exit 1
# go into the git directory
cd @CMAKE_CREATE_VERSION@
# run any extra commands if they exist
@GIT_EXTRA@
check_exit_value $? "git extra cmake source" || exit 1
+ @GIT_FETCH@
+ check_exit_value $? "git extra fetch" || exit 1
# now checkout a copy on the local branch working
@GIT_COMMAND@ checkout -b working @GIT_BRANCH@
check_exit_value $? "git checkout" || exit 1