From 71b14dcb0ad52a65331268bf72808841786bc1d2 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 26 Feb 2014 13:18:38 -0500 Subject: [PATCH] Utilities/Release: Do not upload doc staging tarball Restrict the release upload globbing pattern to match the CMake version so that "cmake-*" files go but "cmake--docs.tar.gz" does not. --- Utilities/Release/upload_release.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Utilities/Release/upload_release.cmake b/Utilities/Release/upload_release.cmake index 0d928ba63..613d73dc8 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")