summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-02-26 18:18:38 (GMT)
committerBrad King <brad.king@kitware.com>2014-02-26 18:19:08 (GMT)
commit71b14dcb0ad52a65331268bf72808841786bc1d2 (patch)
tree580f9b247fcb86f44daaf2f84bf527abd6242b4c
parent6e6fbb0e436889c93bb64930fda51a1ef32326ae (diff)
downloadCMake-71b14dcb0ad52a65331268bf72808841786bc1d2.zip
CMake-71b14dcb0ad52a65331268bf72808841786bc1d2.tar.gz
CMake-71b14dcb0ad52a65331268bf72808841786bc1d2.tar.bz2
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.
-rw-r--r--Utilities/Release/upload_release.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/Utilities/Release/upload_release.cmake b/Utilities/Release/upload_release.cmake
index 0d928ba..613d73d 100644
--- a/Utilities/Release/upload_release.cmake
+++ b/Utilities/Release/upload_release.cmake
@@ -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")