Utilities/Release: Do not upload doc staging tarball

Restrict the release upload globbing pattern to match the CMake version
so that "cmake-<v>*" files go but "cmake-<id>-docs.tar.gz" does not.
This commit is contained in:
Brad King 2014-02-26 13:18:38 -05:00
parent 6e6fbb0e43
commit 71b14dcb0a
1 changed files with 3 additions and 3 deletions

View File

@ -1,10 +1,10 @@
set(CTEST_RUN_CURRENT_SCRIPT 0)
if(NOT DEFINED PROJECT_PREFIX)
set(PROJECT_PREFIX cmake-)
endif()
if(NOT VERSION)
set(VERSION 3.0)
endif()
if(NOT DEFINED PROJECT_PREFIX)
set(PROJECT_PREFIX cmake-${VERSION})
endif()
set(dir "v${VERSION}")
if("${VERSION}" MATCHES "master")
set(dir "dev")