summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-03-24 14:43:41 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-03-24 14:43:43 (GMT)
commit97662babe958748d0e1f827b8066d4abe93f159a (patch)
treea205740fd0ef8d2b1dad4da91e45ffec49d295dc /Utilities
parent09a80c4be6f53d10ce07c24d30d2361d2546142d (diff)
parent954185d414641b7d314683bae7399f8b7f920139 (diff)
downloadCMake-97662babe958748d0e1f827b8066d4abe93f159a.zip
CMake-97662babe958748d0e1f827b8066d4abe93f159a.tar.gz
CMake-97662babe958748d0e1f827b8066d4abe93f159a.tar.bz2
Merge topic 'binaries-from-gitlab-repo'
954185d4 Utilities/Release: Fetch stage/master/head Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !621
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/Release/release_cmake.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Utilities/Release/release_cmake.cmake b/Utilities/Release/release_cmake.cmake
index ee1a0dc..b2c21b7 100644
--- a/Utilities/Release/release_cmake.cmake
+++ b/Utilities/Release/release_cmake.cmake
@@ -40,7 +40,8 @@ elseif(CMAKE_CREATE_VERSION STREQUAL "nightly")
set(GIT_FETCH "${GIT_COMMAND} fetch origin refs/${nightly}:refs/remotes/origin/${nightly}")
set(GIT_BRANCH origin/${nightly})
else()
- set(GIT_FETCH "")
+ set(stage stage/master/head)
+ set(GIT_FETCH "${GIT_COMMAND} fetch origin refs/${stage}:refs/remotes/origin/${stage}")
set(GIT_BRANCH ${CMAKE_CREATE_VERSION})
endif()