diff --git a/Utilities/Release/release_cmake.cmake b/Utilities/Release/release_cmake.cmake index 9a2ede778..44c44f7f9 100644 --- a/Utilities/Release/release_cmake.cmake +++ b/Utilities/Release/release_cmake.cmake @@ -34,7 +34,7 @@ if(NOT DEFINED CVS_COMMAND) set(CVS_COMMAND cvs) endif(NOT DEFINED CVS_COMMAND) -if(${GIT_CREATE_VERSION} MATCHES "^(release|maint)$") +if(${GIT_CREATE_VERSION} MATCHES "^(release|maint|next)$") set(GIT_BRANCH origin/${CMAKE_CREATE_VERSION}) else() set(GIT_BRANCH ${CMAKE_CREATE_VERSION})