[Cmake-commits] CMake branch, master, updated. 2e16fee3c82a746e190ccaafca2b2258eaf9aef6

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Mar 5 18:30:32 EST 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, master has been updated
       via  2e16fee3c82a746e190ccaafca2b2258eaf9aef6 (commit)
      from  0922d4f3f26fa9f087c7d29a98f00e488c7630a6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2e16fee3c82a746e190ccaafca2b2258eaf9aef6
commit 2e16fee3c82a746e190ccaafca2b2258eaf9aef6
Author: Bill Hoffman <bill.hoffman at kitware.com>
Date:   Fri Mar 5 18:26:43 2010 -0500

    Fix upload to work with git branch name master.

diff --git a/Utilities/Release/upload_release.cmake b/Utilities/Release/upload_release.cmake
index 211bc3e..b57853c 100644
--- a/Utilities/Release/upload_release.cmake
+++ b/Utilities/Release/upload_release.cmake
@@ -1,7 +1,10 @@
 set(PROJECT_PREFIX cmake-)
 if(NOT VERSION)
  set(VERSION 2.8)
-endif(NOT VERSION)
+endif()
+if("${VERSION}" MATCHES "master")
+  set(VERSION CVS)
+endif()
 file(GLOB FILES ${CMAKE_CURRENT_SOURCE_DIR} "${PROJECT_PREFIX}*")
 message("${FILES}")
 set(UPLOAD_LOC
@@ -21,4 +24,4 @@ foreach(file ${FILES})
 endforeach(file)
 if(${count} EQUAL 0)
    message(FATAL_ERROR "Error no files uploaded.")
-endif(${count} EQUAL 0)
+endif()

-----------------------------------------------------------------------

Summary of changes:
 Utilities/Release/upload_release.cmake |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list