mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 12:09:48 +00:00
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:
parent
9a1ee04dd5
commit
954185d414
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user