diff options
author | Brad King <brad.king@kitware.com> | 2014-02-26 18:18:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-02-26 18:19:08 (GMT) |
commit | 71b14dcb0ad52a65331268bf72808841786bc1d2 (patch) | |
tree | 580f9b247fcb86f44daaf2f84bf527abd6242b4c | |
parent | 6e6fbb0e436889c93bb64930fda51a1ef32326ae (diff) | |
download | CMake-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.cmake | 6 |
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") |