From 954185d414641b7d314683bae7399f8b7f920139 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 24 Mar 2017 08:56:41 -0400 Subject: Utilities/Release: Fetch stage/master/head Update our release scripts to fetch `refs/stage/master/head` from the `gitlab.kitware.com` repository. This will allow us to prepare releases from staged commits before merging them to `master` or `release`. --- Utilities/Release/release_cmake.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() -- cgit v0.12