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`.
This commit is contained in:
Brad King 2017-03-24 08:56:41 -04:00
parent 9a1ee04dd5
commit 954185d414

View File

@ -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()